twisted.test.test_log.LogPublisherTestCaseMixin class documentationtwisted.test.test_log
(View In Hierarchy)
Known subclasses: twisted.test.test_log.FileObserverTests, twisted.test.test_log.LogPublisherTests
| Method | setUp | No summary |
| Method | tearDown | Verify that everything written to the fake file self.out
was a str. Also, restore the default string encoding to its
previous setting, if it was modified by setUp. |
Add a log observer which records log events in self.out.
Also, make sure the default string encoding is ASCII so that
testSingleUnicode can test the behavior of logging unencodable
unicode messages.
Verify that everything written to the fake file self.out
was a str. Also, restore the default string encoding to its
previous setting, if it was modified by setUp.