testtools: Update to latest version.
[metze/samba/wip.git] / lib / testtools / testtools / tests / matchers / __init__.py
1 # Copyright (c) 2009-2012 testtools developers. See LICENSE for details.
2
3
4 from unittest import TestSuite
5
6
7 def test_suite():
8     from testtools.tests.matchers import (
9         test_basic,
10         test_datastructures,
11         test_dict,
12         test_doctest,
13         test_exception,
14         test_filesystem,
15         test_higherorder,
16         test_impl,
17         )
18     modules = [
19         test_basic,
20         test_datastructures,
21         test_dict,
22         test_doctest,
23         test_exception,
24         test_filesystem,
25         test_higherorder,
26         test_impl,
27         ]
28     suites = map(lambda x: x.test_suite(), modules)
29     return TestSuite(suites)