aboutsummaryrefslogtreecommitdiffstats
path: root/test/tservers.py
diff options
context:
space:
mode:
authorMichael J. Bazzinotti <mbazzinotti@gmail.com>2015-12-29 11:48:02 -0500
committerMichael J. Bazzinotti <mbazzinotti@gmail.com>2015-12-29 11:48:02 -0500
commit09168e1274b0e33448811c39efa3fbdd2aeff756 (patch)
tree6cfb22f7f433b5b4af4079e2e6724f6730ebceb0 /test/tservers.py
parent80690b79062c739fc8adfc725d39a68d4b65b43a (diff)
downloadmitmproxy-09168e1274b0e33448811c39efa3fbdd2aeff756.tar.gz
mitmproxy-09168e1274b0e33448811c39efa3fbdd2aeff756.tar.bz2
mitmproxy-09168e1274b0e33448811c39efa3fbdd2aeff756.zip
client-cert: Simplify and cleanup
simplify the error message when cert path does not exist. During tests, reset the clientcerts proxy config setting to None Remove now-unused clientcerts code from class ProxTestBase
Diffstat (limited to 'test/tservers.py')
-rw-r--r--test/tservers.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/tservers.py b/test/tservers.py
index 8e60df60..5963667b 100644
--- a/test/tservers.py
+++ b/test/tservers.py
@@ -83,7 +83,6 @@ class ProxTestBase(object):
# Test Configuration
ssl = None
ssloptions = False
- clientcerts = False
no_upstream_cert = False
authenticator = None
masterclass = TestMaster
@@ -130,7 +129,6 @@ class ProxTestBase(object):
no_upstream_cert = cls.no_upstream_cert,
cadir = cls.cadir,
authenticator = cls.authenticator,
- clientcerts = tutils.test_data.path("data/clientcert") if cls.clientcerts else None
)