diff options
author | Maximilian Hils <git@maximilianhils.com> | 2018-05-28 23:29:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-28 23:29:08 +0200 |
commit | 7d3d4ca9ea4b7f15c1d34340a5fd7eafee9d1c08 (patch) | |
tree | 39156c2fd16e98c1b7185f06c2268bdbd7319130 /test | |
parent | 3ccc319a27fcd08517127880d498f74380c60d3d (diff) | |
parent | aa0cb2ba2f7a6169746f7086937223d83eae3be0 (diff) | |
download | mitmproxy-7d3d4ca9ea4b7f15c1d34340a5fd7eafee9d1c08.tar.gz mitmproxy-7d3d4ca9ea4b7f15c1d34340a5fd7eafee9d1c08.tar.bz2 mitmproxy-7d3d4ca9ea4b7f15c1d34340a5fd7eafee9d1c08.zip |
Merge pull request #3172 from mhils/issue-3133
Fix shutdown on Windows
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/proxy/test_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mitmproxy/proxy/test_server.py b/test/mitmproxy/proxy/test_server.py index 52970c9b..01ab068d 100644 --- a/test/mitmproxy/proxy/test_server.py +++ b/test/mitmproxy/proxy/test_server.py @@ -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") |