mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
tests: fix test_proxy
This commit is contained in:
parent
ded2bcd8c5
commit
960f76e333
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@ async def test_proxy(get_version, monkeypatch):
|
||||||
|
|
||||||
async def fake_request(*args, proxy, **kwargs):
|
async def fake_request(*args, proxy, **kwargs):
|
||||||
class fake_response():
|
class fake_response():
|
||||||
|
status = 200
|
||||||
|
|
||||||
async def read():
|
async def read():
|
||||||
return proxy.encode("ascii")
|
return proxy.encode("ascii")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue