tests: fix test_proxy

This commit is contained in:
lilydjwg 2018-05-08 19:41:11 +08:00
parent ded2bcd8c5
commit 960f76e333

View file

@ -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")