mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 01:03:24 +00:00
more attempts to make the linters happy
This commit is contained in:
committed by
Jair Henrique
parent
f4467a8d6c
commit
5532c0b4cf
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
import vcr
|
import vcr
|
||||||
@@ -7,7 +6,6 @@ asyncio = pytest.importorskip("asyncio")
|
|||||||
httpx = pytest.importorskip("httpx")
|
httpx = pytest.importorskip("httpx")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(params=["https", "http"])
|
@pytest.fixture(params=["https", "http"])
|
||||||
def scheme(request):
|
def scheme(request):
|
||||||
"""Fixture that returns both http and https."""
|
"""Fixture that returns both http and https."""
|
||||||
|
|||||||
@@ -111,7 +111,6 @@ def _play_responses(cassette, request, vcr_request, client, kwargs):
|
|||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
async def _async_vcr_send(cassette, real_send, *args, **kwargs):
|
async def _async_vcr_send(cassette, real_send, *args, **kwargs):
|
||||||
vcr_request, response = _shared_vcr_send(cassette, real_send, *args, **kwargs)
|
vcr_request, response = _shared_vcr_send(cassette, real_send, *args, **kwargs)
|
||||||
if response:
|
if response:
|
||||||
|
|||||||
Reference in New Issue
Block a user