diff --git a/tests/test_proxy.py b/tests/test_proxy.py index 5faa4c6..a8c808f 100644 --- a/tests/test_proxy.py +++ b/tests/test_proxy.py @@ -20,6 +20,8 @@ async def test_proxy(get_version, monkeypatch): async def fake_request(*args, proxy, **kwargs): class fake_response(): + status = 200 + async def read(): return proxy.encode("ascii")