Skip to content

Commit 90d0063

Browse files
wojciakc-w
andauthored
Update tests/test_http.py
Co-authored-by: Clemens Wolff <clemens@justamouse.com>
1 parent 17ecb82 commit 90d0063

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_http.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,7 @@ def test_truesendall_with_dump_from_recording_and_ignored_headers(self):
343343
responses = json.load(f)
344344

345345
for key, value in responses["httpbin.local"]["80"].items():
346-
assert (
347-
"Authorization" not in value["request"]
348-
), f"'Authorization' header found in request ID: {key}"
346+
self.assertNotIn("Authorization", value["request"])
349347

350348
@mocketize
351349
def test_post_file_object(self):

0 commit comments

Comments
 (0)