twisted.trial.test.test_tests.SuccessMixin(object)
class documentationtwisted.trial.test.test_tests
(View In Hierarchy)
Known subclasses: twisted.trial.test.test_tests.AsynchronousSuccessTests, twisted.trial.test.test_tests.SynchronousSuccessTests
Tests for the reporting of successful tests in twisted.trial.unittest.TestCase
.
Method | setUp | Setup our test case |
Method | test_successful | A successful test, used by other tests. |
Method | assertSuccessful | Utility function -- assert there is one success and the state is plausible |
Method | test_successfulIsReported | Test that when a successful test is run, it is reported as a success, and not as any other kind of result. |
Method | test_defaultIsSuccessful | The test case type can be instantiated with no arguments, run, and reported as being successful. |
Method | test_noReference | Test that no reference is kept on a successful test. |
Utility function -- assert there is one success and the state is plausible
Test that when a successful test is run, it is reported as a success, and not as any other kind of result.