diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/test_contrib_tnetstring.py (renamed from test/mitmproxy/test_tnetstring.py) | 2 | ||||
-rw-r--r-- | test/mitmproxy/test_flow.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/mitmproxy/test_tnetstring.py b/test/mitmproxy/test_contrib_tnetstring.py index 0b16437b..17654ad9 100644 --- a/test/mitmproxy/test_tnetstring.py +++ b/test/mitmproxy/test_contrib_tnetstring.py @@ -4,7 +4,7 @@ import math import io import struct -from mitmproxy import tnetstring +from mitmproxy.contrib import tnetstring MAXINT = 2 ** (struct.Struct('i').size * 8 - 1) - 1 diff --git a/test/mitmproxy/test_flow.py b/test/mitmproxy/test_flow.py index af8256c4..9eaab9aa 100644 --- a/test/mitmproxy/test_flow.py +++ b/test/mitmproxy/test_flow.py @@ -5,7 +5,8 @@ import mock import netlib.utils from netlib.http import Headers -from mitmproxy import filt, controller, tnetstring, flow +from mitmproxy import filt, controller, flow +from mitmproxy.contrib import tnetstring from mitmproxy.exceptions import FlowReadException, ScriptException from mitmproxy.models import Error from mitmproxy.models import Flow |