diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-06-23 14:01:50 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-06-23 14:01:50 +1200 |
commit | 2c928181e841b25d5ae8d1390802900b4cc6834e (patch) | |
tree | 5bde55e614557f39821e269061e14516b39f3a54 /test/test_proxy.py | |
parent | 237e05c823958dc9ea50c648cc98bedc2ef305d3 (diff) | |
parent | e2069d52a81a2aef99dcd2da4fbc61e926b024a0 (diff) | |
download | mitmproxy-2c928181e841b25d5ae8d1390802900b4cc6834e.tar.gz mitmproxy-2c928181e841b25d5ae8d1390802900b4cc6834e.tar.bz2 mitmproxy-2c928181e841b25d5ae8d1390802900b4cc6834e.zip |
Merge branch 'master' of ssh.github.com:mitmproxy/mitmproxy
Diffstat (limited to 'test/test_proxy.py')
-rw-r--r-- | test/test_proxy.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py index a618ae6c..d1e72f75 100644 --- a/test/test_proxy.py +++ b/test/test_proxy.py @@ -90,6 +90,12 @@ class TestProcessProxyOptions: self.assert_err("expected one argument", "-U") self.assert_err("Invalid server specification", "-U", "upstream") + self.assert_noerr("--spoof") + self.assert_noerr("--ssl-spoof") + + self.assert_noerr("--spoofed-port", "443") + self.assert_err("expected one argument", "--spoofed-port") + self.assert_err("mutually exclusive", "-R", "http://localhost", "-T") def test_client_certs(self): |