aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_console_common.py4
-rw-r--r--test/test_console_contentview.py4
2 files changed, 5 insertions, 3 deletions
diff --git a/test/test_console_common.py b/test/test_console_common.py
index 1949dad5..57cbef98 100644
--- a/test/test_console_common.py
+++ b/test/test_console_common.py
@@ -3,8 +3,10 @@ from nose.plugins.skip import SkipTest
if os.name == "nt":
raise SkipTest("Skipped on Windows.")
+from netlib import encoding
+
import libmproxy.console.common as common
-from libmproxy import utils, flow, encoding
+from libmproxy import utils, flow
import tutils
diff --git a/test/test_console_contentview.py b/test/test_console_contentview.py
index b98e1021..d1a6180f 100644
--- a/test/test_console_contentview.py
+++ b/test/test_console_contentview.py
@@ -5,10 +5,10 @@ if os.name == "nt":
import sys
import netlib.utils
-from netlib import odict
+from netlib import odict, encoding
import libmproxy.console.contentview as cv
-from libmproxy import utils, flow, encoding
+from libmproxy import utils, flow
import tutils
try: