s3: Fix a typo
[Samba/gebeck_regimport.git] / lib / testtools / testtools / __init__.py
blobf518b70373ca04b0f4034ac2fbba89d3f0173b28
1 # Copyright (c) 2008-2011 testtools developers. See LICENSE for details.
3 """Extensions to the standard Python unittest library."""
5 __all__ = [
6 'clone_test_with_new_id',
7 'ConcurrentTestSuite',
8 'ErrorHolder',
9 'ExpectedException',
10 'ExtendedToOriginalDecorator',
11 'FixtureSuite',
12 'iterate_tests',
13 'MultipleExceptions',
14 'MultiTestResult',
15 'PlaceHolder',
16 'run_test_with',
17 'TestCase',
18 'TestCommand',
19 'TestResult',
20 'TextTestResult',
21 'RunTest',
22 'skip',
23 'skipIf',
24 'skipUnless',
25 'ThreadsafeForwardingResult',
26 'try_import',
27 'try_imports',
30 from testtools.helpers import (
31 try_import,
32 try_imports,
34 from testtools.matchers import (
35 Matcher,
37 # Shut up, pyflakes. We are importing for documentation, not for namespacing.
38 Matcher
40 from testtools.runtest import (
41 MultipleExceptions,
42 RunTest,
44 from testtools.testcase import (
45 ErrorHolder,
46 ExpectedException,
47 PlaceHolder,
48 TestCase,
49 clone_test_with_new_id,
50 run_test_with,
51 skip,
52 skipIf,
53 skipUnless,
55 from testtools.testresult import (
56 ExtendedToOriginalDecorator,
57 MultiTestResult,
58 TestResult,
59 TextTestResult,
60 ThreadsafeForwardingResult,
62 from testtools.testsuite import (
63 ConcurrentTestSuite,
64 FixtureSuite,
65 iterate_tests,
67 from testtools.distutilscmd import (
68 TestCommand,
71 # same format as sys.version_info: "A tuple containing the five components of
72 # the version number: major, minor, micro, releaselevel, and serial. All
73 # values except releaselevel are integers; the release level is 'alpha',
74 # 'beta', 'candidate', or 'final'. The version_info value corresponding to the
75 # Python version 2.0 is (2, 0, 0, 'final', 0)." Additionally we use a
76 # releaselevel of 'dev' for unreleased under-development code.
78 # If the releaselevel is 'alpha' then the major/minor/micro components are not
79 # established at this point, and setup.py will use a version of next-$(revno).
80 # If the releaselevel is 'final', then the tarball will be major.minor.micro.
81 # Otherwise it is major.minor.micro~$(revno).
83 __version__ = (0, 9, 13, 'dev', 0)