class documentation
class LogPublisherTestCaseMixin: (source)
Known subclasses: twisted.test.test_log.FileObserverTests
, twisted.test.test_log.LogPublisherTests
Undocumented
Method | set |
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. |
Method | tear |
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 . |
Instance Variable | flo |
½ |
Instance Variable | lp |
Undocumented |
Instance Variable | out |
Undocumented |
Instance Variable | _orig |
Undocumented |
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
.