aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-06-26 13:27:40 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-06-26 13:27:40 +0200
commitb369962cbe632588baf7b10917e3d31b91a18dbd (patch)
tree17b159340db4f3458d926e97fdd0d60cb02210aa /test
parent876252eba8272409e29ddea2806835e147bc6f70 (diff)
downloadmitmproxy-b369962cbe632588baf7b10917e3d31b91a18dbd.tar.gz
mitmproxy-b369962cbe632588baf7b10917e3d31b91a18dbd.tar.bz2
mitmproxy-b369962cbe632588baf7b10917e3d31b91a18dbd.zip
remove certforward feature
The certforward feature was implemented to support #gotofail, which only works on unpatched iOS devices. Given that many apps don't support iOS 7 anymore, jailbreak+ssl killswitch is usually the better option. By removing certforward, we can make netlib a pure python module again, which significantly simplifies distribution.
Diffstat (limited to 'test')
-rw-r--r--test/test_server.py8
-rw-r--r--test/tservers.py2
2 files changed, 0 insertions, 10 deletions
diff --git a/test/test_server.py b/test/test_server.py
index 07b8a5f2..8cf4095b 100644
--- a/test/test_server.py
+++ b/test/test_server.py
@@ -757,14 +757,6 @@ class TestIncompleteResponse(tservers.HTTPProxTest):
assert self.pathod("200").status_code == 502
-class TestCertForward(tservers.HTTPProxTest):
- certforward = True
- ssl = True
-
- def test_app_err(self):
- tutils.raises("handshake error", self.pathod, "200:b@100")
-
-
class TestUpstreamProxy(tservers.HTTPUpstreamProxTest, CommonMixin, AppMixin):
ssl = False
diff --git a/test/tservers.py b/test/tservers.py
index c70ad68a..96e340e9 100644
--- a/test/tservers.py
+++ b/test/tservers.py
@@ -89,7 +89,6 @@ class ProxTestBase(object):
no_upstream_cert = False
authenticator = None
masterclass = TestMaster
- certforward = False
@classmethod
def setupAll(cls):
@@ -131,7 +130,6 @@ class ProxTestBase(object):
no_upstream_cert = cls.no_upstream_cert,
cadir = cls.cadir,
authenticator = cls.authenticator,
- certforward = cls.certforward,
ssl_ports=([cls.server.port, cls.server2.port] if cls.ssl else []),
clientcerts = tutils.test_data.path("data/clientcert") if cls.clientcerts else None
)