Resolve regressions in exceptions (#2181)

This commit is contained in:
Adam Hopkins
2021-07-12 00:35:27 +03:00
committed by GitHub
parent 08a4b3013f
commit 36eda2cd62
2 changed files with 13 additions and 1 deletions

View File

@@ -471,7 +471,7 @@ def test_stack_trace_on_not_found(app, static_file_directory, caplog):
assert response.status == 404
assert counter[logging.INFO] == 5
assert counter[logging.ERROR] == 1
assert counter[logging.ERROR] == 0
def test_no_stack_trace_on_not_found(app, static_file_directory, caplog):