twisted.web.test.test_web.AccessLogTestsMixin(object)
class documentationtwisted.web.test.test_web
(View In Hierarchy)
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_combinedLogFormat | The factory's log method writes a combined log
format line to the factory's log file. |
Method | test_logFormatOverride | If the factory is initialized with a custom log formatter then that formatter is used to generate lines for the log file. |
Get the factory class to apply logging tests to.
Subclasses must override this method.