aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_console_contentview.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-09-05 20:53:44 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-09-05 20:53:44 +0200
commita8d931089c9ecf450b69321706825cf694c1c08e (patch)
treeaafd025d82dd6c842d61cefa9d8cb013080e2cfb /test/test_console_contentview.py
parent5125c669ccd2db5de5f90c66db61e64f63f3ba4c (diff)
downloadmitmproxy-a8d931089c9ecf450b69321706825cf694c1c08e.tar.gz
mitmproxy-a8d931089c9ecf450b69321706825cf694c1c08e.tar.bz2
mitmproxy-a8d931089c9ecf450b69321706825cf694c1c08e.zip
fix tests
Diffstat (limited to 'test/test_console_contentview.py')
-rw-r--r--test/test_console_contentview.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_console_contentview.py b/test/test_console_contentview.py
index 7e5a188f..6a93346a 100644
--- a/test/test_console_contentview.py
+++ b/test/test_console_contentview.py
@@ -164,16 +164,16 @@ Content-Disposition: form-data; name="submit-name"
Larry
--AaB03x
""".strip()
- h = Headers(content_type="multipart/form-data; boundary=AaB03x"),
+ h = Headers(content_type="multipart/form-data; boundary=AaB03x")
assert view(h, v, 1000)
- h = Headers(),
+ h = Headers()
assert not view(h, v, 1000)
- h = Headers(content_type="multipart/form-data"),
+ h = Headers(content_type="multipart/form-data")
assert not view(h, v, 1000)
- h = Headers(content_type="unparseable"),
+ h = Headers(content_type="unparseable")
assert not view(h, v, 1000)
def test_get_content_view(self):