Known subclasses: twisted.trial.test.test_log.AsynchronousLogErrorsTests, twisted.trial.test.test_log.SynchronousLogErrorsTests

High-level tests demonstrating the expected behaviour of logged errors during tests.

Method setUp Undocumented
Method tearDown Undocumented
Method test_singleError Test that a logged error gets reported as a test error.
Method test_twoErrors Test that when two errors get logged, they both get reported as test errors.
Method test_errorsIsolated Check that an error logged in one test doesn't fail the next test.
Method test_errorsIsolatedWhenTestFails An error logged in a failed test doesn't fail the next test.
Method test_boundedObservers There are no extra log observers after a test runs.
def setUp(self):
Undocumented
def tearDown(self):
Undocumented
def test_singleError(self):

Test that a logged error gets reported as a test error.

def test_twoErrors(self):

Test that when two errors get logged, they both get reported as test errors.

def test_errorsIsolated(self):

Check that an error logged in one test doesn't fail the next test.

def test_errorsIsolatedWhenTestFails(self):

An error logged in a failed test doesn't fail the next test.

def test_boundedObservers(self):

There are no extra log observers after a test runs.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.