Source

CherryPy / cherrypy / test / test_logging.py

Author Commit Message Labels Comments Date
Robert Brewer
Bye bye, py2/3.
Robert Brewer
Removed test.py etc.
Joseph Tate
Convert the tests to use nose instead of our own runner. This strips out much coverage and profiling (handled by nose) and lets you focus on writing tests.
Robert Brewer
Moved "environment: test_suite" out of individual tests and into helper.py. Moved setup_server() call out of individual tests and into helper.py. Added a new test for per-handler max_request_body_size shenanigans.
Robert Brewer
Whew. Fixed the whole test suite to properly handle the --host arg.
Robert Brewer
Fix for #824 (_cplogging.LogManager.access method not handling unicode in login names properly). While I was at it, I made the access log template configurable, moved the log tests from test_core into test_logging, and added a new logtest module.