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.
def setUp(self):

Setup our test case

def test_successful(self):

A successful test, used by other tests.

def assertSuccessful(self, test, result):

Utility function -- assert there is one success and the state is plausible

def test_successfulIsReported(self):

Test that when a successful test is run, it is reported as a success, and not as any other kind of result.

def test_defaultIsSuccessful(self):

The test case type can be instantiated with no arguments, run, and reported as being successful.

def test_noReference(self):

Test that no reference is kept on a successful test.

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