class documentation
class TodoMixin(ResultsTestMixin):
Known subclasses: twisted.trial.test.test_tests.AsynchronousTodoTests
, twisted.trial.test.test_tests.SynchronousTodoTests
Tests for the individual test method expected failure features of twisted.trial.unittest.TestCase
.
Method | set |
Setup our test case |
Method | test |
Ensure that we've got three test cases. |
Method | test_expected |
Ensure that expected failures are handled properly. |
Method | test_expected |
setUp is excluded from the failure expectation defined by a todo attribute on a test method. |
Method | test_expected |
tearDown is excluded from the failure expectation defined by a todo attribute on a test method. |
Method | test |
Running a suite in which all methods are individually marked as expected to fail produces a successful result with no recorded errors, failures, or skips, all methods which fail and were expected to fail recorded as ... |
Method | test_unexpected |
Ensure that unexpected successes are caught. |
Inherited from ResultsTestMixin
:
Method | assert |
Asserts that the test count is plausible |
Method | load |
Load tests from the given test case class and create a new reporter to use for running it. |
Method | test_set |
test the setup |
Instance Variable | loader |
Undocumented |
Instance Variable | reporter |
Undocumented |
Instance Variable | suite |
Undocumented |
Running a suite in which all methods are individually marked as expected to fail produces a successful result with no recorded errors, failures, or skips, all methods which fail and were expected to fail recorded as expectedFailures, and all methods which pass but which were expected to fail recorded as unexpectedSuccesses. Additionally, no tests are recorded as successes.