1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
"""Tests for testtools itself."""
# 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)
|