Skip to content

Commit

Permalink
One more go
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed May 15, 2024
1 parent 5967907 commit 7cec3d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_capture_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def test_post_cache_to_file(self):
assert response.rec_type == 'response'
assert response.rec_headers['WARC-Target-URI'] == url
assert response.rec_headers['WARC-IP-Address'] == '127.0.0.1'
assert res.json()["json"] == json.loads(response.content_stream().read().decode('utf-8'))
assert request_data == json.loads(response.content_stream().read().decode('utf-8'))["json"]

request = next(ai)
assert request.rec_type == 'request'
Expand Down

0 comments on commit 7cec3d8

Please sign in to comment.