mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-08 16:53:23 +00:00
fix linting
This commit is contained in:
committed by
Jair Henrique
parent
db1e9e7180
commit
85ae012d9c
@@ -298,7 +298,7 @@ def test_text_content_type(tmpdir, httpbin, do_request):
|
||||
assert cassette_response.content == response.content
|
||||
assert cassette.play_count == 1
|
||||
assert isinstance(cassette.responses[0]['content'], str)
|
||||
|
||||
|
||||
@pytest.mark.online
|
||||
def test_binary_content_type(tmpdir, httpbin, do_request):
|
||||
url = httpbin.url + "/bytes/1024"
|
||||
@@ -310,4 +310,4 @@ def test_binary_content_type(tmpdir, httpbin, do_request):
|
||||
cassette_response = do_request()("GET", url)
|
||||
assert cassette_response.content == response.content
|
||||
assert cassette.play_count == 1
|
||||
assert isinstance(cassette.responses[0]['content'], bytes)
|
||||
assert isinstance(cassette.responses[0]['content'], bytes)
|
||||
|
||||
Reference in New Issue
Block a user