module documentation
Tests for assertions provided by SynchronousTestCase and TestCase, provided by twisted.trial.unittest
.
TestFailureTests
demonstrates that SynchronousTestCase.fail
works, so that is the only method on twisted.trial.unittest.SynchronousTestCase that is initially assumed to work. The test classes are arranged so that the methods demonstrated to work earlier in the file are used by those later in the file (even though the runner will probably not run the tests in this order).
Class |
|
Tests for SynchronousTestCase 's assertFalse and failIf assertion methods. |
Class |
|
Tests for consistency of naming within TestCase assertion methods |
Class |
|
Tests for SynchronousTestCase 's assertTrue and failUnless assertion methods. |
Class |
|
Test use of the SynchronousTestCase.callDeprecated method with version objects. |
Class |
|
An object which raises exceptions from its comparison methods. |
Class |
|
Test SynchronousTestCase.getDeprecatedModuleAttribute |
Class |
|
Undocumented |
Class |
|
Tests for SynchronousTestCase.successResultOf , SynchronousTestCase.failureResultOf , and SynchronousTestCase.assertNoResult . |
Class |
|
Tests for SynchronousTestCase.successResultOf , SynchronousTestCase.failureResultOf , and SynchronousTestCase.assertNoResult when given a coroutine. |
Class |
|
Tests for SynchronousTestCase 's assertion methods. That is, failUnless*, failIf*, assert* (not covered by other more specific test classes). |
Class |
|
Tests for the most basic functionality of SynchronousTestCase , for failing tests. |
Class |
|
No class docstring; 13/13 methods documented |
Function | old |
Deprecated method for testing. |
Function | old |
Another deprecated method, which has been deprecated in favor of the mythical 'newMethod'. |
Function | something |
A module attribute that is not deprecated. Used by GetDeprecatedModuleAttributeTests.test_notDeprecated . |
Function | something |
A deprecated module attribute. Used by GetDeprecatedModuleAttributeTests.test_deprecated . |
A module attribute that is not deprecated. Used by GetDeprecatedModuleAttributeTests.test_notDeprecated
.