Resolve regressions in exceptions (#2181)

This commit is contained in:
Adam Hopkins
2021-07-12 00:35:27 +03:00
committed by Adam Hopkins
parent bb1174afc5
commit a6e78b70ab
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):