twisted.trial.test.test_log.LogErrorsMixin(object)
class documentationtwisted.trial.test.test_log
(View In Hierarchy)
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. |
Test that when two errors get logged, they both get reported as test errors.