diff options
Diffstat (limited to 'test/mitmproxy/test_flow_format_compat.py')
-rw-r--r-- | test/mitmproxy/test_flow_format_compat.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/mitmproxy/test_flow_format_compat.py b/test/mitmproxy/test_flow_format_compat.py index 4997aff9..0bb9cf15 100644 --- a/test/mitmproxy/test_flow_format_compat.py +++ b/test/mitmproxy/test_flow_format_compat.py @@ -1,10 +1,10 @@ from mitmproxy import io from mitmproxy import exceptions -from . import tutils +from mitmproxy.test import tutils def test_load(): - with open(tutils.test_data.path("data/dumpfile-011"), "rb") as f: + with open(tutils.test_data.path("mitmproxy/data/dumpfile-011"), "rb") as f: flow_reader = io.FlowReader(f) flows = list(flow_reader.stream()) assert len(flows) == 1 @@ -12,7 +12,7 @@ def test_load(): def test_cannot_convert(): - with open(tutils.test_data.path("data/dumpfile-010"), "rb") as f: + with open(tutils.test_data.path("mitmproxy/data/dumpfile-010"), "rb") as f: flow_reader = io.FlowReader(f) with tutils.raises(exceptions.FlowReadException): list(flow_reader.stream()) |