diff options
author | John Szakmeister <john@szakmeister.net> | 2013-02-10 14:03:41 -0800 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2013-02-10 14:03:41 -0800 |
commit | 697c6e8e7f64215e576674821c67c1c3c524c422 (patch) | |
tree | 1bc12c3325443759dc6f73d740564fd8838d6d5b /nose/plugins | |
parent | f2ac6d7936607d170af2dc9b5d0950133780bdbc (diff) | |
parent | 7bfa41c5b86ace52e69063483deb5c9a6b6516e2 (diff) | |
download | nose-697c6e8e7f64215e576674821c67c1c3c524c422.tar.gz |
Merge pull request #553 from Infinidat/master
fix #135 and update plugin documentation
Diffstat (limited to 'nose/plugins')
-rw-r--r-- | nose/plugins/base.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nose/plugins/base.py b/nose/plugins/base.py index 40701d2..d500868 100644 --- a/nose/plugins/base.py +++ b/nose/plugins/base.py @@ -217,7 +217,7 @@ class IPluginInterface(object): :param filename: The file that was loaded :type filename: string - :param filename: The name of the module + :param module: The name of the module :type module: string """ pass @@ -631,8 +631,8 @@ class IPluginInterface(object): """Called before each test is run. DO NOT return a value unless you want to stop other plugins from seeing the test start. - :param err: sys.exc_info() tuple - :type err: 3-tuple + :param test: the test case + :type test: :class:`nose.case.Test` """ pass @@ -640,7 +640,7 @@ class IPluginInterface(object): """Called after the tests in a context have run and the context has been torn down. - :param context: the context about to be setup. May be a module or + :param context: the context that has been torn down. May be a module or class, or any other object that contains tests. """ pass @@ -650,16 +650,16 @@ class IPluginInterface(object): """Called after each test is run. DO NOT return a value unless you want to stop other plugins from seeing that the test has stopped. - :param err: sys.exc_info() tuple - :type err: 3-tuple + :param test: the test case + :type test: :class:`nose.case.Test` """ pass def testName(self, test): """Return a short test name. Called by `nose.case.Test.__str__`. - :param err: sys.exc_info() tuple - :type err: 3-tuple + :param test: the test case + :type test: :class:`nose.case.Test` """ pass testName._new = True |