diff options
Diffstat (limited to 'lib/subunit/python/testtools/tests/__init__.py')
-rw-r--r-- | lib/subunit/python/testtools/tests/__init__.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/subunit/python/testtools/tests/__init__.py b/lib/subunit/python/testtools/tests/__init__.py new file mode 100644 index 0000000000..e1d1148d5c --- /dev/null +++ b/lib/subunit/python/testtools/tests/__init__.py @@ -0,0 +1,28 @@ +# See README for copyright and licensing details. + +import unittest +from testtools.tests import ( + test_content, + test_content_type, + test_matchers, + test_runtest, + test_testtools, + test_testresult, + test_testsuite, + ) + + +def test_suite(): + suites = [] + modules = [ + test_content, + test_content_type, + test_matchers, + test_runtest, + test_testresult, + test_testsuite, + test_testtools, + ] + for module in modules: + suites.append(getattr(module, 'test_suite')()) + return unittest.TestSuite(suites) |