* Add tests for remove_route()

* Add tests for sanic/router.py

* Add tests for sanic/cookies.py

* Disable reset logging in test_logging.py

* Add tests for sanic/request.py

* Add tests for ContentRangeHandler

* Add tests for exception at response middleware

* Fix cached_handlers for ErrorHandler.lookup()

* Add test for websocket request timeout

* Add tests for getting cookies of StreamResponse, Remove some unused variables in tests/test_cookies.py

* Add tests for nested error handle
This commit is contained in:
Jacob
2018-12-22 23:21:45 +08:00
committed by Stephen Sadowski
parent d2670664ba
commit 4efd450b32
12 changed files with 554 additions and 16 deletions

View File

@@ -125,7 +125,7 @@ def test_logger(caplog):
def test_logging_modified_root_logger_config():
reset_logging()
# reset_logging()
modified_config = LOGGING_CONFIG_DEFAULTS
modified_config['loggers']['sanic.root']['level'] = 'DEBUG'