aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMaximilian Hils <github@maximilianhils.com>2020-03-09 22:26:45 +0100
committerGitHub <noreply@github.com>2020-03-09 22:26:45 +0100
commit1930578f05aa8574b8df94cad099cdf14a869723 (patch)
treee015e68155b5d584f7f53775b7a8c7671a3bdd73 /test
parent2a5164351f0f5e32106ed3c18d0bf1711c4bb147 (diff)
downloadmitmproxy-1930578f05aa8574b8df94cad099cdf14a869723.tar.gz
mitmproxy-1930578f05aa8574b8df94cad099cdf14a869723.tar.bz2
mitmproxy-1930578f05aa8574b8df94cad099cdf14a869723.zip
remove duplicate test
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/net/http/test_headers.py4
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():