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