Skip to content

Commit a8e9c1b

Browse files
committed
added assert statements into tests/test_requests/test_header_validation in regards to the issue #6551
1 parent b55bb15 commit a8e9c1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_requests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,7 @@ def test_header_validation(self, httpbin):
17021702
}
17031703
r = requests.get(httpbin("get"), headers=valid_headers)
17041704
for key in valid_headers.keys():
1705-
valid_headers[key] == r.request.headers[key]
1705+
assert valid_headers[key] == r.request.headers[key]
17061706

17071707
@pytest.mark.parametrize(
17081708
"invalid_header, key",

0 commit comments

Comments
 (0)