mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 14:50:16 +00:00
added assert statements into tests/test_requests/test_header_validation in regards to the issue #6551
This commit is contained in:
@@ -1702,7 +1702,7 @@ class TestRequests:
|
||||
}
|
||||
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",
|
||||
|
||||
Reference in New Issue
Block a user