From a8e9c1b436e9a35c271d8b690eefbc0d3d18df0f Mon Sep 17 00:00:00 2001 From: sumedhrao7 Date: Wed, 18 Oct 2023 07:40:50 +0530 Subject: [PATCH] added assert statements into tests/test_requests/test_header_validation in regards to the issue #6551 --- tests/test_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_requests.py b/tests/test_requests.py index 5d8d2cd3af..a71fe7d6b8 100644 --- a/tests/test_requests.py +++ b/tests/test_requests.py @@ -1702,7 +1702,7 @@ def test_header_validation(self, httpbin): } r = requests.get(httpbin("get"), headers=valid_headers) for key in valid_headers.keys(): - valid_headers[key] == r.request.headers[key] + assert valid_headers[key] == r.request.headers[key] @pytest.mark.parametrize( "invalid_header, key",