bunch of docstring changes
This commit is contained in:
@@ -55,13 +55,13 @@ LOG = log.getLogger('nova.tests')
|
||||
|
||||
|
||||
class skip_test(object):
|
||||
"""decorator that skips a test"""
|
||||
"""Decorator that skips a test."""
|
||||
def __init__(self, msg):
|
||||
self.message = msg
|
||||
|
||||
def __call__(self, func):
|
||||
def _skipper(*args, **kw):
|
||||
"""wrapped skipper function."""
|
||||
"""Wrapped skipper function."""
|
||||
raise nose.SkipTest(self.message)
|
||||
_skipper.__name__ = func.__name__
|
||||
_skipper.__doc__ = func.__doc__
|
||||
|
||||
Reference in New Issue
Block a user