class documentation

Tests for the expected failure features of twisted.trial.unittest.TestCase in which the exact failure which is expected is indicated.

Method setUp Setup our test case
Method test_counting Assert there are seven test cases
Method test_expectedFailures Ensure that expected failures are handled properly.
Method test_results A test method which is marked as expected to fail with a particular exception is only counted as an expected failure if it does fail with that exception, not if it fails with some other exception.
Method test_unexpectedSuccesses Ensure that unexpected successes are caught.

Inherited from ResultsTestMixin:

Method assertCount Asserts that the test count is plausible
Method loadSuite Load tests from the given test case class and create a new reporter to use for running it.
Method test_setUp test the setup
Instance Variable loader Undocumented
Instance Variable reporter Undocumented
Instance Variable suite Undocumented
def setUp(self): (source)

Setup our test case

def test_counting(self): (source)

Assert there are seven test cases

def test_expectedFailures(self): (source)

Ensure that expected failures are handled properly.

def test_results(self): (source)

A test method which is marked as expected to fail with a particular exception is only counted as an expected failure if it does fail with that exception, not if it fails with some other exception.

def test_unexpectedSuccesses(self): (source)

Ensure that unexpected successes are caught.