0f85426aa70e337f812e8e8b4f9902226a4412b2
[nivanova/samba-autobuild/.git] / lib / testtools / testtools / __init__.py
1 # Copyright (c) 2008, 2009, 2010 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     'ErrorHolder',
9     'ExtendedToOriginalDecorator',
10     'iterate_tests',
11     'MultipleExceptions',
12     'MultiTestResult',
13     'PlaceHolder',
14     'run_test_with',
15     'TestCase',
16     'TestResult',
17     'TextTestResult',
18     'RunTest',
19     'skip',
20     'skipIf',
21     'skipUnless',
22     'ThreadsafeForwardingResult',
23     'try_import',
24     'try_imports',
25     ]
26
27 from testtools.helpers import (
28     try_import,
29     try_imports,
30     )
31 from testtools.matchers import (
32     Matcher,
33     )
34 from testtools.runtest import (
35     MultipleExceptions,
36     RunTest,
37     )
38 from testtools.testcase import (
39     ErrorHolder,
40     PlaceHolder,
41     TestCase,
42     clone_test_with_new_id,
43     run_test_with,
44     skip,
45     skipIf,
46     skipUnless,
47     )
48 from testtools.testresult import (
49     ExtendedToOriginalDecorator,
50     MultiTestResult,
51     TestResult,
52     TextTestResult,
53     ThreadsafeForwardingResult,
54     )
55 from testtools.testsuite import (
56     ConcurrentTestSuite,
57     iterate_tests,
58     )
59
60 # same format as sys.version_info: "A tuple containing the five components of
61 # the version number: major, minor, micro, releaselevel, and serial. All
62 # values except releaselevel are integers; the release level is 'alpha',
63 # 'beta', 'candidate', or 'final'. The version_info value corresponding to the
64 # Python version 2.0 is (2, 0, 0, 'final', 0)."  Additionally we use a
65 # releaselevel of 'dev' for unreleased under-development code.
66 #
67 # If the releaselevel is 'alpha' then the major/minor/micro components are not
68 # established at this point, and setup.py will use a version of next-$(revno).
69 # If the releaselevel is 'final', then the tarball will be major.minor.micro.
70 # Otherwise it is major.minor.micro~$(revno).
71
72 __version__ = (0, 9, 8, 'dev', 0)