summaryrefslogtreecommitdiff
path: root/lib/testtools/testtools/tests/__init__.py
blob: 5e22000bb46d714ce60ff5811a967f2f923a7fbb (plain)
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
31
32
33
34
"""Tests for testtools itself."""

# 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 = [
        test_compat,
        test_content,
        test_content_type,
        test_matchers,
        test_monkey,
        test_runtest,
        test_testresult,
        test_testsuite,
        test_testtools,
        ]
    for module in modules:
        suites.append(getattr(module, 'test_suite')())
    return unittest.TestSuite(suites)