aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pathod.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-11-18 09:34:15 +1300
committerAldo Cortesi <aldo@nullcube.com>2012-11-18 09:34:15 +1300
commit781592d6c0f6e2987c7ab3a5aa9b5505fa461e95 (patch)
tree95969204ee27dd21b3719978d8c908740e4a1bb5 /test/test_pathod.py
parente40482576ca5b03f7c65332b8f1409366f7adbd9 (diff)
downloadmitmproxy-781592d6c0f6e2987c7ab3a5aa9b5505fa461e95.tar.gz
mitmproxy-781592d6c0f6e2987c7ab3a5aa9b5505fa461e95.tar.bz2
mitmproxy-781592d6c0f6e2987c7ab3a5aa9b5505fa461e95.zip
Fix timeout test.
Diffstat (limited to 'test/test_pathod.py')
-rw-r--r--test/test_pathod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_pathod.py b/test/test_pathod.py
index 70c9a5ec..072d5623 100644
--- a/test/test_pathod.py
+++ b/test/test_pathod.py
@@ -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"