File: __init__.py

package info (click to toggle)
python-testtools 2.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,244 kB
  • sloc: python: 15,086; makefile: 127; sh: 3
file content (34 lines) | stat: -rw-r--r-- 719 bytes parent folder | download
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
# Copyright (c) 2009-2012 testtools developers. See LICENSE for details.


from unittest import TestSuite


def test_suite():
    from ..matchers import (
        test_basic,
        test_const,
        test_datastructures,
        test_dict,
        test_doctest,
        test_exception,
        test_filesystem,
        test_higherorder,
        test_impl,
        test_warnings,
    )

    modules = [
        test_basic,
        test_const,
        test_datastructures,
        test_dict,
        test_doctest,
        test_exception,
        test_filesystem,
        test_higherorder,
        test_impl,
        test_warnings,
    ]
    suites = map(lambda x: x.test_suite(), modules)
    return TestSuite(suites)