aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2014-12-27 23:06:51 +1300
committerAldo Cortesi <aldo@nullcube.com>2014-12-27 23:06:51 +1300
commit8a8437470e224ee53acbd9a353c7d01a83168cd4 (patch)
tree171a7b465155959bdd0b1d210f03cfcf6067a656 /test
parent1f454b577f7db434d79388eb101006b065f62a2b (diff)
downloadmitmproxy-8a8437470e224ee53acbd9a353c7d01a83168cd4.tar.gz
mitmproxy-8a8437470e224ee53acbd9a353c7d01a83168cd4.tar.bz2
mitmproxy-8a8437470e224ee53acbd9a353c7d01a83168cd4.zip
Move onboarding app to Tornado
Two reasons for this. First, this removes flask and its dependencies, which are quite sizeable. Second, pyinstaller now barfs on simplejson, which is a Flask dependency. I just don't have time to fix this upstream, so doing what we should be doing anyway is a no-brainer.
Diffstat (limited to 'test')
-rw-r--r--test/tservers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tservers.py b/test/tservers.py
index 12154ba7..37929d1a 100644
--- a/test/tservers.py
+++ b/test/tservers.py
@@ -158,10 +158,10 @@ class HTTPProxTest(ProxTestBase):
if self.ssl:
p = libpathod.pathoc.Pathoc(("127.0.0.1", self.proxy.port), True)
p.connect((APP_HOST, APP_PORT))
- return p.request("get:'/%s'"%page)
+ return p.request("get:'%s'"%page)
else:
p = self.pathoc()
- return p.request("get:'http://%s/%s'"%(APP_HOST, page))
+ return p.request("get:'http://%s%s'"%(APP_HOST, page))
class TResolver: