aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_app.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-11-18 09:04:49 +1300
committerAldo Cortesi <aldo@nullcube.com>2012-11-18 09:04:49 +1300
commite40482576ca5b03f7c65332b8f1409366f7adbd9 (patch)
tree625904b72356835adbe19f79015ef97843a3fb5e /test/test_app.py
parentb11260f064ef6f2341d2b637f2e9a4dcc5b9f50c (diff)
downloadmitmproxy-e40482576ca5b03f7c65332b8f1409366f7adbd9.tar.gz
mitmproxy-e40482576ca5b03f7c65332b8f1409366f7adbd9.tar.bz2
mitmproxy-e40482576ca5b03f7c65332b8f1409366f7adbd9.zip
Add disconnect specifiers to test suite.
Fixes hangs seen in test suite with recent versions of requetss.
Diffstat (limited to 'test/test_app.py')
-rw-r--r--test/test_app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_app.py b/test/test_app.py
index b3194052..6fc64dbe 100644
--- a/test/test_app.py
+++ b/test/test_app.py
@@ -24,7 +24,7 @@ class TestApp(tutils.DaemonTests):
def test_log(self):
assert self.getpath("/log").status_code == 200
- assert self.get("200").status_code == 200
+ assert self.get("200:da").status_code == 200
id = self.d.log()[0]["id"]
assert self.getpath("/log").status_code == 200
assert self.getpath("/log/%s"%id).status_code == 200