aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_app.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2013-04-30 09:32:11 +1200
committerAldo Cortesi <aldo@nullcube.com>2013-04-30 09:32:11 +1200
commit0504bcfd9645181587ec68a77a13af4b413c13a1 (patch)
treeac5cf56abc4654672091e8ca6d98fec840d408f0 /test/test_app.py
parentbeb47eba5171800ed201f3c9a1e23adf8b032640 (diff)
downloadmitmproxy-0504bcfd9645181587ec68a77a13af4b413c13a1.tar.gz
mitmproxy-0504bcfd9645181587ec68a77a13af4b413c13a1.tar.bz2
mitmproxy-0504bcfd9645181587ec68a77a13af4b413c13a1.zip
Changelog, minor cleanups.
Diffstat (limited to 'test/test_app.py')
-rw-r--r--test/test_app.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_app.py b/test/test_app.py
index 6fc64dbe..f35def00 100644
--- a/test/test_app.py
+++ b/test/test_app.py
@@ -30,6 +30,9 @@ class TestApp(tutils.DaemonTests):
assert self.getpath("/log/%s"%id).status_code == 200
assert self.getpath("/log/9999999").status_code == 404
+ def test_log_binary(self):
+ assert self.get("200:h@10b=@10b:da")
+
def test_response_preview(self):
r = self.getpath("/response_preview", params=dict(spec="200"))
assert r.status_code == 200