From 4a0a47ce23080142b12832b44e6cd56072c50df2 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Mon, 27 Mar 2023 18:57:26 +0100 Subject: tests/middleware/if_none_match: remove duplicate test --- tests/middleware/test_if_none_match.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/middleware/test_if_none_match.py b/tests/middleware/test_if_none_match.py index 8456c05..0a0cdf8 100644 --- a/tests/middleware/test_if_none_match.py +++ b/tests/middleware/test_if_none_match.py @@ -76,13 +76,6 @@ def test_etag_matches_if_none_match_header_list(app, value): assert response.status == "304 Not Modified" -def test_etag_matches_if_none_match_header_list2(app): - environ = {"REQUEST_METHOD": "GET", "HTTP_IF_NONE_MATCH": f'"54321", "{ETAG}"'} - response = call_app(app, environ) - assert response.data == b"" - assert response.status == "304 Not Modified" - - def test_etag_matches_if_none_match_header_star(app): environ = {"REQUEST_METHOD": "GET", "HTTP_IF_NONE_MATCH": "*"} response = call_app(app, environ) -- cgit v1.2.3-54-g00ecf