aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_console.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-08-01 10:40:19 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-08-01 14:37:32 +0200
commitdb02553e2afee044faac898d12bd8d1adadbcd21 (patch)
tree1e5910599b7b47c527528f03f896efd2fbf7c907 /test/test_console.py
parent8a051511706e2e62c32e0f70e05ecab11d444b6f (diff)
downloadmitmproxy-db02553e2afee044faac898d12bd8d1adadbcd21.tar.gz
mitmproxy-db02553e2afee044faac898d12bd8d1adadbcd21.tar.bz2
mitmproxy-db02553e2afee044faac898d12bd8d1adadbcd21.zip
move code from mitmproxy to netlib
Diffstat (limited to 'test/test_console.py')
-rw-r--r--test/test_console.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test_console.py b/test/test_console.py
index ed8408a5..3304fdbb 100644
--- a/test/test_console.py
+++ b/test/test_console.py
@@ -4,6 +4,8 @@ import mock
import gc
from os.path import normpath
import mock_urwid
+
+import netlib.tutils
from libmproxy import console
from libmproxy.console import common
@@ -60,13 +62,13 @@ class TestConsoleState:
def _add_response(self, state):
f = self._add_request(state)
- f.response = tutils.tresp()
+ f.response = netlib.tutils.tresp()
state.update_flow(f)
def test_add_response(self):
c = console.ConsoleState()
f = self._add_request(c)
- f.response = tutils.tresp()
+ f.response = netlib.tutils.tresp()
c.focus = None
c.update_flow(f)