Files
deb-python-testtools/testtools/deferredruntest.py
Jonathan Lange c8d131d371 Move all Twisted code to twistedsupport package
* Move test code to testtools.tests.twistedsupport, to parallel matchers
* Add testtools.deferredruntest to preserve backwards compatibility
* Move NeedsTwistedTestCase out of test_spinner into shared module for
  Twisted tests

Closes #202
2016-02-07 16:43:44 +00:00

28 lines
685 B
Python

# 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,
)