aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_proxy.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/test_proxy.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/test_proxy.py')
-rw-r--r--test/test_proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py
index a0530c79..b498c800 100644
--- a/test/test_proxy.py
+++ b/test/test_proxy.py
@@ -104,7 +104,7 @@ class TestProcessProxyOptions:
"--client-certs",
os.path.join(tutils.test_data.path("data/clientcert"), "client.pem"))
self.assert_err(
- "not a file or directory",
+ "path does not exist",
"--client-certs",
"nonexistent")