mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
Fix timeout test.
This commit is contained in:
parent
e40482576c
commit
781592d6c0
@ -39,7 +39,7 @@ class TestTimeout(tutils.DaemonTests):
|
||||
def test_noweb(self):
|
||||
# FIXME: Add float values to spec language, reduce test timeout to
|
||||
# increase test performance
|
||||
assert self.get("200:p1,2").status_code == 200
|
||||
tutils.raises("blank server response", self.pathoc, "get:/:p1,1")
|
||||
assert self.d.last_log()["type"] == "timeout"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user