mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
add missing await
This commit is contained in:
parent
1f6635c1fc
commit
aa0cb2ba2f
@ -787,7 +787,7 @@ class TestServerConnect(tservers.HTTPProxyTest):
|
||||
"""A replayed/fake response with no upstream_cert should not connect to an upstream server"""
|
||||
self.set_addons(AFakeResponse())
|
||||
assert self.pathod("200").status_code == 200
|
||||
asyncio.sleep(0.1)
|
||||
await asyncio.sleep(0.1)
|
||||
assert not self.proxy.tmaster.has_log("serverconnect")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user