e1d1148d5c0638ab4c067eae819b0608b6d8a233
[samba.git] / lib / subunit / python / testtools / tests / __init__.py
1 # See README for copyright and licensing details.
2
3 import unittest
4 from testtools.tests import (
5     test_content,
6     test_content_type,
7     test_matchers,
8     test_runtest,
9     test_testtools,
10     test_testresult,
11     test_testsuite,
12     )
13
14
15 def test_suite():
16     suites = []
17     modules = [
18         test_content,
19         test_content_type,
20         test_matchers,
21         test_runtest,
22         test_testresult,
23         test_testsuite,
24         test_testtools,
25         ]
26     for module in modules:
27         suites.append(getattr(module, 'test_suite')())
28     return unittest.TestSuite(suites)