subunit: Update to newer upstream version.
[samba.git] / lib / subunit / python / testtools / __init__.py
1 # Copyright (c) 2008, 2009 Jonathan M. Lange. See LICENSE for details.
2
3 """Extensions to the standard Python unittest library."""
4
5 __all__ = [
6     'clone_test_with_new_id',
7     'ConcurrentTestSuite',
8     'ExtendedToOriginalDecorator',
9     'iterate_tests',
10     'MultiTestResult',
11     'TestCase',
12     'TestResult',
13     'TextTestResult',
14     'RunTest',
15     'skip',
16     'skipIf',
17     'skipUnless',
18     'ThreadsafeForwardingResult',
19     ]
20
21 from testtools.matchers import (
22     Matcher,
23     )
24 from testtools.runtest import (
25     RunTest,
26     )
27 from testtools.testcase import (
28     TestCase,
29     clone_test_with_new_id,
30     skip,
31     skipIf,
32     skipUnless,
33     )
34 from testtools.testresult import (
35     ExtendedToOriginalDecorator,
36     MultiTestResult,
37     TestResult,
38     TextTestResult,
39     ThreadsafeForwardingResult,
40     )
41 from testtools.testsuite import (
42     ConcurrentTestSuite,
43     )
44 from testtools.utils import iterate_tests
45
46 # same format as sys.version_info: "A tuple containing the five components of
47 # the version number: major, minor, micro, releaselevel, and serial. All
48 # values except releaselevel are integers; the release level is 'alpha',
49 # 'beta', 'candidate', or 'final'. The version_info value corresponding to the
50 # Python version 2.0 is (2, 0, 0, 'final', 0)."  Additionally we use a
51 # releaselevel of 'dev' for unreleased under-development code.
52 #
53 # If the releaselevel is 'alpha' then the major/minor/micro components are not
54 # established at this point, and setup.py will use a version of next-$(revno).
55 # If the releaselevel is 'final', then the tarball will be major.minor.micro.
56 # Otherwise it is major.minor.micro~$(revno).
57
58 __version__ = (0, 9, 2, 'final', 0)