aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_server.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-06-09 20:41:28 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-06-09 20:41:28 +1200
commit18c1b444759b38d1a2643c908bfd6cab0e016e69 (patch)
tree8bc5397957d148cd2fb21c223d9661ca5890a7f4 /test/test_server.py
parent05492baf8d2c970c5e5c3d207549893490ead751 (diff)
downloadmitmproxy-18c1b444759b38d1a2643c908bfd6cab0e016e69.tar.gz
mitmproxy-18c1b444759b38d1a2643c908bfd6cab0e016e69.tar.bz2
mitmproxy-18c1b444759b38d1a2643c908bfd6cab0e016e69.zip
Reverse proxy testing.
Diffstat (limited to 'test/test_server.py')
-rw-r--r--test/test_server.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_server.py b/test/test_server.py
index 14c5fc88..e6f055cc 100644
--- a/test/test_server.py
+++ b/test/test_server.py
@@ -1,4 +1,5 @@
import urllib, urllib2, unittest
+import time
import libpathod.test, requests
import tutils
@@ -16,6 +17,10 @@ class TestHTTPS(Sanity):
ssl = True
+class TestReverse(Sanity):
+ reverse = True
+
+
class TestProxy(tutils.ProxTest):
def test_http(self):
f = self.pathod("205")