From 28577aae928847e64a0274b5922e26e1f15d9916 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 8 Jan 2010 02:09:20 +0100 Subject: Import testtools as well, required for subunit. --- lib/subunit/python/testtools/tests/__init__.py | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 lib/subunit/python/testtools/tests/__init__.py (limited to 'lib/subunit/python/testtools/tests/__init__.py') 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) -- cgit