testtools: Import new upstream snapshot.
[nivanova/samba-autobuild/.git] / lib / testtools / testtools / tests / __init__.py
index 5e22000bb46d714ce60ff5811a967f2f923a7fbb..ac3c218de9766f376f2ea585d1b1d3148f5f1cc5 100644 (file)
@@ -3,32 +3,39 @@
 # See README for copyright and licensing details.
 
 import unittest
-from testtools.tests import (
-    test_compat,
-    test_content,
-    test_content_type,
-    test_matchers,
-    test_monkey,
-    test_runtest,
-    test_testtools,
-    test_testresult,
-    test_testsuite,
-    )
 
 
 def test_suite():
-    suites = []
-    modules = [
+    from testtools.tests import (
         test_compat,
         test_content,
         test_content_type,
+        test_deferredruntest,
+        test_fixturesupport,
+        test_helpers,
         test_matchers,
         test_monkey,
+        test_run,
         test_runtest,
+        test_spinner,
+        test_testtools,
+        test_testresult,
+        test_testsuite,
+        )
+    modules = [
+        test_compat,
+        test_content,
+        test_content_type,
+        test_deferredruntest,
+        test_fixturesupport,
+        test_helpers,
+        test_matchers,
+        test_monkey,
+        test_run,
+        test_spinner,
         test_testresult,
         test_testsuite,
         test_testtools,
         ]
-    for module in modules:
-        suites.append(getattr(module, 'test_suite')())
+    suites = map(lambda x:x.test_suite(), modules)
     return unittest.TestSuite(suites)