Skip to content

Commit

Permalink
added assert statements into tests/test_requests/test_header_validati…
Browse files Browse the repository at this point in the history
…on in regards to the issue #6551
  • Loading branch information
swims-hjkl committed Oct 18, 2023
1 parent b55bb15 commit a8e9c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a8e9c1b

Please sign in to comment.