summaryrefslogtreecommitdiff
path: root/testtools/deferredruntest.py
blob: 52a6d98fd0f67717e7fa9471d30b13c30ee11c81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) 2016 testtools developers. See LICENSE for details.

"""Backwards compatibility for testtools.twistedsupport."""

__all__ = [
    'AsynchronousDeferredRunTest',
    'AsynchronousDeferredRunTestForBrokenTwisted',
    'SynchronousDeferredRunTest',
    'assert_fails_with',
]

from .twistedsupport import (
    AsynchronousDeferredRunTest,
    AsynchronousDeferredRunTestForBrokenTwisted,
    SynchronousDeferredRunTest,
    assert_fails_with,
)

# Never explicitly exported but had public names:
from .twistedsupport import (
    CaptureTwistedLogs,
    flush_logged_errors,
)
from .twistedsupport._runtest import (
    run_with_log_observers,
    UncleanReactorError,
)