From 44bf7ba79a08b0edaebaccd37a23d71fe0cf1e63 Mon Sep 17 00:00:00 2001 From: Adam Hopkins Date: Mon, 21 Aug 2023 22:54:04 +0300 Subject: [PATCH] Cleanup tests --- tests/test_static.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_static.py b/tests/test_static.py index 925a81ae..a8df59ab 100644 --- a/tests/test_static.py +++ b/tests/test_static.py @@ -517,7 +517,7 @@ def test_stack_trace_on_not_found(app, static_file_directory, caplog): counter = Counter([(r[0], r[1]) for r in caplog.record_tuples]) assert response.status == 404 - assert counter[("sanic.root", logging.INFO)] == 9 + assert counter[("sanic.root", logging.INFO)] == 10 assert counter[("sanic.root", logging.ERROR)] == 0 assert counter[("sanic.error", logging.ERROR)] == 0 assert counter[("sanic.server", logging.INFO)] == 2 @@ -536,7 +536,7 @@ def test_no_stack_trace_on_not_found(app, static_file_directory, caplog): counter = Counter([(r[0], r[1]) for r in caplog.record_tuples]) assert response.status == 404 - assert counter[("sanic.root", logging.INFO)] == 9 + assert counter[("sanic.root", logging.INFO)] == 10 assert counter[("sanic.root", logging.ERROR)] == 0 assert counter[("sanic.error", logging.ERROR)] == 0 assert counter[("sanic.server", logging.INFO)] == 2