From 960f76e33389210a0465c14187c8600beceb1088 Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Tue, 8 May 2018 19:41:11 +0800 Subject: [PATCH] tests: fix test_proxy --- tests/test_proxy.py | 2 ++ 1 file changed, 2 insertions(+) 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")