add missing await

This commit is contained in:
Maximilian Hils 2018-05-28 22:27:27 +02:00
parent 1f6635c1fc
commit aa0cb2ba2f

View File

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