Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #775 from diminoten/master

Fix plugin test interface documentation.
  • Loading branch information...
commit ea23b2673b2fa69e6fbb8f89c6a32fde10f6de74 2 parents c51ff6f + 90469c1
John Szakmeister jszakmeister authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 nose/plugins/plugintest.py
4 nose/plugins/plugintest.py
View
@@ -27,7 +27,7 @@
... class TC(unittest.TestCase):
... def runTest(self):
... raise ValueError("I hate foo")
- ... return unittest.TestSuite([TC()])
+ ... return [TC('runTest')]
...
>>> res = unittest.TestResult()
>>> case = TestPluginFoo('test_foo')
@@ -79,7 +79,7 @@
... class TC(unittest.TestCase):
... def runTest(self):
... raise ValueError("I hate fancy stuff")
- ... return unittest.TestSuite([TC()])
+ ... return [TC('runTest')]
...
>>> res = unittest.TestResult()
>>> case = TestFancyOutputter('test_fancy_output')
Please sign in to comment.
Something went wrong with that request. Please try again.