~testing-cabal/ubuntu/natty/python-testtools/daily-build-packaging

« back to all changes in this revision

Viewing changes to testtools/__init__.py

Add a test suite and a test result to support concurrent testing.

Thanks to Robert Collins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
__all__ = [
6
6
    'clone_test_with_new_id',
 
7
    'ConcurrentTestSuite',
7
8
    'iterate_tests',
8
9
    'MultiTestResult',
9
10
    'TestCase',
10
11
    'TestResult',
 
12
    'ThreadsafeForwardingResult',
11
13
    ]
12
14
 
13
15
from testtools.testcase import TestCase, clone_test_with_new_id
14
 
from testtools.testresult import MultiTestResult, TestResult
 
16
from testtools.testresult import (
 
17
    MultiTestResult,
 
18
    TestResult,
 
19
    ThreadsafeForwardingResult,
 
20
    )
 
21
from testtools.testsuite import (
 
22
    ConcurrentTestSuite,
 
23
    )
15
24
from testtools.utils import iterate_tests