diff options
author | arjun23496 <arjun.k018@gmail.com> | 2016-08-31 16:27:22 +0530 |
---|---|---|
committer | arjun23496 <arjun.k018@gmail.com> | 2016-08-31 16:27:22 +0530 |
commit | 2476809ff85e6f1b66c931a2eedf552169383573 (patch) | |
tree | 2e9b9045b7c94b1881314a390d8b12669a001c18 /test/netlib/http/test_headers.py | |
parent | e5766550f1576a02facb95b452e4a52271780b63 (diff) | |
download | mitmproxy-2476809ff85e6f1b66c931a2eedf552169383573.tar.gz mitmproxy-2476809ff85e6f1b66c931a2eedf552169383573.tar.bz2 mitmproxy-2476809ff85e6f1b66c931a2eedf552169383573.zip |
Lint fix - replace tests
Diffstat (limited to 'test/netlib/http/test_headers.py')
-rw-r--r-- | test/netlib/http/test_headers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/netlib/http/test_headers.py b/test/netlib/http/test_headers.py index b1085e5a..ad2bc548 100644 --- a/test/netlib/http/test_headers.py +++ b/test/netlib/http/test_headers.py @@ -77,9 +77,10 @@ class TestHeaders(object): def test_replace_with_count(self): headers = Headers(Host="foobarfoo.com", Accept="foo/bar") - replacements = headers.replace("foo","bar",count=1) + replacements = headers.replace("foo", "bar", count=1) assert replacements == 1 + def test_parse_content_type(): p = parse_content_type assert p("text/html") == ("text", "html", {}) |