diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-03-09 21:51:24 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-03-09 21:51:24 +0100 |
commit | 5598a8de82f28232fb4407911a8643dceacc9ebc (patch) | |
tree | 832c4db3c0b897ad6615761083a7735e18d45b44 /test/test_server.py | |
parent | fc4fe83eafc68ebb9763fa5cbee1ed7e16964c9c (diff) | |
download | mitmproxy-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.py | 4 |
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) |