summaryrefslogtreecommitdiff
path: root/lib/testtools/testtools/tests/matchers/__init__.py
blob: ebab308e77ce49f63c4c572b67dc0df8e9497890 (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
# Copyright (c) 2009-2012 testtools developers. See LICENSE for details.


from unittest import TestSuite


def test_suite():
    from testtools.tests.matchers import (
        test_basic,
        test_datastructures,
        test_dict,
        test_doctest,
        test_exception,
        test_filesystem,
        test_higherorder,
        test_impl,
        )
    modules = [
        test_basic,
        test_datastructures,
        test_dict,
        test_doctest,
        test_exception,
        test_filesystem,
        test_higherorder,
        test_impl,
        ]
    suites = map(lambda x: x.test_suite(), modules)
    return TestSuite(suites)