aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_server.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-03-09 21:51:24 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-03-09 21:51:24 +0100
commit5598a8de82f28232fb4407911a8643dceacc9ebc (patch)
tree832c4db3c0b897ad6615761083a7735e18d45b44 /test/test_server.py
parentfc4fe83eafc68ebb9763fa5cbee1ed7e16964c9c (diff)
downloadmitmproxy-5598a8de82f28232fb4407911a8643dceacc9ebc.tar.gz
mitmproxy-5598a8de82f28232fb4407911a8643dceacc9ebc.tar.bz2
mitmproxy-5598a8de82f28232fb4407911a8643dceacc9ebc.zip
finish proxy.py split up
Diffstat (limited to 'test/test_server.py')
-rw-r--r--test/test_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_server.py b/test/test_server.py
index ed21e75c..43ef546d 100644
--- a/test/test_server.py
+++ b/test/test_server.py
@@ -3,8 +3,8 @@ import mock
from netlib import tcp, http_auth, http
from libpathod import pathoc, pathod
import tutils, tservers
-from libmproxy import flow, proxy
from libmproxy.protocol import KILL
+from libmproxy.protocol.http import CONTENT_MISSING
"""
Note that the choice of response code in these tests matters more than you
@@ -381,7 +381,7 @@ class TestTransparentResolveError(tservers.TransparentProxTest):
class MasterIncomplete(tservers.TestMaster):
def handle_request(self, m):
resp = tutils.tresp()
- resp.content = flow.CONTENT_MISSING
+ resp.content = CONTENT_MISSING
m.reply(resp)