twisted.trial.test.test_tests.GCMixin(object) class documentationtwisted.trial.test.test_tests
(View In Hierarchy)
Known subclasses: twisted.trial.test.test_tests.GarbageCollectionDefaultTests, twisted.trial.test.test_tests.GarbageCollectionTests
I provide a few mock tests that log setUp, tearDown, test execution and garbage collection. I'm used to test whether gc.collect gets called.
| Class | BasicTest | Mock test to run. |
| Method | collect | Fake gc.collect |
| Method | setUp | Setup our test case |
| Method | tearDown | Tear down the test |
| Method | _log | Log function |