class documentation
class StrictTodoMixin(ResultsTestMixin): (source)
Known subclasses: twisted.trial.test.test_tests.AsynchronousStrictTodoTests
, twisted.trial.test.test_tests.SynchronousStrictTodoTests
Tests for the expected failure features of twisted.trial.unittest.TestCase
in which the exact failure which is expected is indicated.
Method | set |
Setup our test case |
Method | test |
Assert there are seven test cases |
Method | test_expected |
Ensure that expected failures are handled properly. |
Method | test |
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_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 |