~percona-dev/percona-server/release-5.1.59-13.0

« back to all changes in this revision

Viewing changes to python-for-subunit2junitxml/testtools/tests/__init__.py

  • Committer: Stewart Smith
  • Date: 2011-10-06 06:45:16 UTC
  • Revision ID: stewart@flamingspork.com-20111006064516-rrjg17x7wwn9vr6w
add subunit support to mtr

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
"""Tests for testtools itself."""
 
2
 
 
3
# See README for copyright and licensing details.
 
4
 
 
5
import unittest
 
6
 
 
7
 
 
8
def test_suite():
 
9
    from testtools.tests import (
 
10
        test_compat,
 
11
        test_content,
 
12
        test_content_type,
 
13
        test_deferredruntest,
 
14
        test_distutilscmd,
 
15
        test_fixturesupport,
 
16
        test_helpers,
 
17
        test_matchers,
 
18
        test_monkey,
 
19
        test_run,
 
20
        test_runtest,
 
21
        test_spinner,
 
22
        test_testresult,
 
23
        test_testsuite,
 
24
        test_testtools,
 
25
        )
 
26
    modules = [
 
27
        test_compat,
 
28
        test_content,
 
29
        test_content_type,
 
30
        test_deferredruntest,
 
31
        test_distutilscmd,
 
32
        test_fixturesupport,
 
33
        test_helpers,
 
34
        test_matchers,
 
35
        test_monkey,
 
36
        test_run,
 
37
        test_runtest,
 
38
        test_spinner,
 
39
        test_testresult,
 
40
        test_testsuite,
 
41
        test_testtools,
 
42
        ]
 
43
    suites = map(lambda x: x.test_suite(), modules)
 
44
    return unittest.TestSuite(suites)