aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/test_flow.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/mitmproxy/test_flow.py b/test/mitmproxy/test_flow.py
index ee588a5c..e17a125c 100644
--- a/test/mitmproxy/test_flow.py
+++ b/test/mitmproxy/test_flow.py
@@ -12,7 +12,6 @@ from mitmproxy.models import Flow
from mitmproxy.models import HTTPFlow
from mitmproxy.models import HTTPRequest
from mitmproxy.models import HTTPResponse
-from mitmproxy.proxy.config import HostMatcher
from mitmproxy.proxy import ProxyConfig
from mitmproxy.proxy.server import DummyServer
from mitmproxy.models.connections import ClientConnection
@@ -690,14 +689,6 @@ class TestSerialize:
class TestFlowMaster:
- def test_getset_ignore(self):
- p = mock.Mock()
- p.config.check_ignore = HostMatcher()
- fm = flow.FlowMaster(None, p, flow.State())
- assert not fm.get_ignore_filter()
- fm.set_ignore_filter(["^apple\.com:", ":443$"])
- assert fm.get_ignore_filter()
-
def test_replay(self):
s = flow.State()
fm = flow.FlowMaster(None, None, s)