class documentation
class AccessLogTestsMixin: (source)
Known subclasses: twisted.web.test.test_web.HTTPFactoryAccessLogTests
, twisted.web.test.test_web.SiteAccessLogTests
A mixin for TestCase
subclasses defining tests that apply to HTTPFactory
and its subclasses.
Method | factory |
Get the factory class to apply logging tests to. |
Method | test_combined |
The factory's log method writes a combined log format line to the factory's log file. |
Method | test_log |
If the factory is initialized with a custom log formatter then that formatter is used to generate lines for the log file. |
overridden in
twisted.web.test.test_web.SiteAccessLogTests
Get the factory class to apply logging tests to.
Subclasses must override this method.