aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_server.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-02-02 13:25:31 +0100
committerMaximilian Hils <git@maximilianhils.com>2016-02-02 13:25:31 +0100
commitaaf82cae7d05e52d37927030adb68c94314e6110 (patch)
treeb3958028740ce8ec1f464fb284df31578b839805 /test/test_server.py
parentbceeb4a291d7f0d2f714ff6bc53e52cb8b7a3e6f (diff)
downloadmitmproxy-aaf82cae7d05e52d37927030adb68c94314e6110.tar.gz
mitmproxy-aaf82cae7d05e52d37927030adb68c94314e6110.tar.bz2
mitmproxy-aaf82cae7d05e52d37927030adb68c94314e6110.zip
tests: use relative imports
Diffstat (limited to 'test/test_server.py')
-rw-r--r--test/test_server.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_server.py b/test/test_server.py
index 9a3200aa..1b7e6966 100644
--- a/test/test_server.py
+++ b/test/test_server.py
@@ -16,8 +16,7 @@ from libmproxy.proxy.config import HostMatcher
from libmproxy.protocol import Kill
from libmproxy.models import Error, HTTPResponse
-import tutils
-import tservers
+from . import tutils, tservers
"""
Note that the choice of response code in these tests matters more than you