aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tomasz@kramkow.ski>2023-03-27 18:57:26 +0100
committerTomasz Kramkowski <tomasz@kramkow.ski>2023-03-27 19:01:15 +0100
commit4a0a47ce23080142b12832b44e6cd56072c50df2 (patch)
treeb05d0f41a3f4ccbd2487e1a73e0c2bf5ed86b64d
parentc52740b9906697ebdfb2e27274b4fab225b593ef (diff)
downloadpaste-4a0a47ce23080142b12832b44e6cd56072c50df2.tar.gz
paste-4a0a47ce23080142b12832b44e6cd56072c50df2.tar.xz
paste-4a0a47ce23080142b12832b44e6cd56072c50df2.zip
tests/middleware/if_none_match: remove duplicate test
-rw-r--r--tests/middleware/test_if_none_match.py7
1 files changed, 0 insertions, 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)