aboutsummaryrefslogtreecommitdiffstats
path: root/test/mitmproxy/addons/test_anticomp.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/mitmproxy/addons/test_anticomp.py')
-rw-r--r--test/mitmproxy/addons/test_anticomp.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/mitmproxy/addons/test_anticomp.py b/test/mitmproxy/addons/test_anticomp.py
index 5f95013f..0089f97f 100644
--- a/test/mitmproxy/addons/test_anticomp.py
+++ b/test/mitmproxy/addons/test_anticomp.py
@@ -1,3 +1,5 @@
+from mitmproxy.test import tflow
+
from .. import tutils, mastertest
from mitmproxy.addons import anticomp
from mitmproxy import master
@@ -12,10 +14,10 @@ class TestAntiComp(mastertest.MasterTest):
sa = anticomp.AntiComp()
m.addons.add(sa)
- f = tutils.tflow(resp=True)
+ f = tflow.tflow(resp=True)
m.request(f)
- f = tutils.tflow(resp=True)
+ f = tflow.tflow(resp=True)
f.request.headers["Accept-Encoding"] = "foobar"
m.request(f)