diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/net/http/test_headers.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/mitmproxy/net/http/test_headers.py b/test/mitmproxy/net/http/test_headers.py index eb065fec..5f208dcb 100644 --- a/test/mitmproxy/net/http/test_headers.py +++ b/test/mitmproxy/net/http/test_headers.py @@ -90,10 +90,6 @@ class TestHeaders: assert replacements == 1 assert headers["Host"] == "barbarfoo.com" assert headers["Accept"] == "foo/bar" - replacements = headers.replace("foo", "bar", count=2) - assert replacements == 2 - assert headers["Host"] == "barbarbar.com" - assert headers["Accept"] == "bar/bar" def test_parse_content_type(): |