aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-08-31 17:29:14 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-08-31 17:29:14 +0200
commit481cc6ea842dc3c531c45a4bd228bdd6ebcc4229 (patch)
tree1625213d076afd3f0af22a186af6cf4a4a09dc42 /test
parentb04e6e56ab1e69853abebfb950539e3a3aefbdf2 (diff)
downloadmitmproxy-481cc6ea842dc3c531c45a4bd228bdd6ebcc4229.tar.gz
mitmproxy-481cc6ea842dc3c531c45a4bd228bdd6ebcc4229.tar.bz2
mitmproxy-481cc6ea842dc3c531c45a4bd228bdd6ebcc4229.zip
we don't support socks auth, refs #738
Diffstat (limited to 'test')
-rw-r--r--test/test_proxy.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py
index cc6a79d0..3707fabe 100644
--- a/test/test_proxy.py
+++ b/test/test_proxy.py
@@ -93,6 +93,9 @@ class TestProcessProxyOptions:
self.assert_err("not allowed with", "-R", "http://localhost", "-T")
+ def test_socks_auth(self):
+ self.assert_err("Proxy Authentication not supported in SOCKS mode.", "--socks", "--nonanonymous")
+
def test_client_certs(self):
with tutils.tmpdir() as cadir:
self.assert_noerr("--client-certs", cadir)