diff options
Diffstat (limited to 'lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/trial/test/mockcustomsuite.py')
-rwxr-xr-x | lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/trial/test/mockcustomsuite.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/trial/test/mockcustomsuite.py b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/trial/test/mockcustomsuite.py deleted file mode 100755 index 89ad1629..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/trial/test/mockcustomsuite.py +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (c) 2006 Twisted Matrix Laboratories. See LICENSE for details - -""" -Mock test module that contains a C{test_suite} method. L{runner.TestLoader} -should load the tests from the C{test_suite}, not from the C{Foo} C{TestCase}. - -See {twisted.trial.test.test_loader.LoaderTest.test_loadModuleWith_test_suite}. -""" - - -from twisted.trial import unittest, runner - -class Foo(unittest.TestCase): - def test_foo(self): - pass - - -def test_suite(): - ts = runner.TestSuite() - ts.name = "MyCustomSuite" - return ts |