aboutsummaryrefslogtreecommitdiffstats
path: root/test/mitmproxy/mastertest.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/mitmproxy/mastertest.py')
-rw-r--r--test/mitmproxy/mastertest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mitmproxy/mastertest.py b/test/mitmproxy/mastertest.py
index 915f9501..f82eec40 100644
--- a/test/mitmproxy/mastertest.py
+++ b/test/mitmproxy/mastertest.py
@@ -4,7 +4,7 @@ from . import tutils
import netlib.tutils
from mitmproxy import master
-from mitmproxy import flow, proxy, models, options
+from mitmproxy import io, proxy, models, options
class TestMaster:
@@ -33,7 +33,7 @@ class MasterTest:
def flowfile(self, path):
f = open(path, "wb")
- fw = flow.FlowWriter(f)
+ fw = io.FlowWriter(f)
t = tutils.tflow(resp=True)
fw.add(t)
f.close()