aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_http.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-06-22 14:52:23 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-06-22 14:52:23 +1200
commit2aa1b98fbf8d03005e022da86e3e534cf25ebf62 (patch)
treeed0dc9ec2ed2cd6f43ea56eec940b759c711626c /test/test_http.py
parentf5c5deb2aea047394238f3b993ddf24c60845768 (diff)
downloadmitmproxy-2aa1b98fbf8d03005e022da86e3e534cf25ebf62.tar.gz
mitmproxy-2aa1b98fbf8d03005e022da86e3e534cf25ebf62.tar.bz2
mitmproxy-2aa1b98fbf8d03005e022da86e3e534cf25ebf62.zip
netlib/test.py -> test/tservers.py
Diffstat (limited to 'test/test_http.py')
-rw-r--r--test/test_http.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_http.py b/test/test_http.py
index 0a9e276f..2ad81d24 100644
--- a/test/test_http.py
+++ b/test/test_http.py
@@ -1,8 +1,8 @@
import cStringIO
import textwrap
import binascii
-from netlib import http, odict, tcp, test
-import tutils
+from netlib import http, odict, tcp
+from . import tutils, tservers
def test_httperror():
@@ -284,7 +284,7 @@ class NoContentLengthHTTPHandler(tcp.BaseHandler):
self.wfile.flush()
-class TestReadResponseNoContentLength(test.ServerTestBase):
+class TestReadResponseNoContentLength(tservers.ServerTestBase):
handler = NoContentLengthHTTPHandler
def test_no_content_length(self):