aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-08-08 03:38:59 +0200
committerMaximilian Hils <git@maximilianhils.com>2014-08-08 03:38:59 +0200
commita3c3e4e50434a891d702ee023d0b8925e513aa1d (patch)
tree0c73ab4e9c2789faa7611f53de4f83da20ab85a1 /test
parenta9e6121a08c745961992c9fd2b4e4593063192f5 (diff)
downloadmitmproxy-a3c3e4e50434a891d702ee023d0b8925e513aa1d.tar.gz
mitmproxy-a3c3e4e50434a891d702ee023d0b8925e513aa1d.tar.bz2
mitmproxy-a3c3e4e50434a891d702ee023d0b8925e513aa1d.zip
remove platform.setup
Diffstat (limited to 'test')
-rw-r--r--test/test_proxy.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py
index 96279b9f..31a6aa19 100644
--- a/test/test_proxy.py
+++ b/test/test_proxy.py
@@ -70,8 +70,7 @@ class TestProcessProxyOptions:
self.assert_err("transparent mode not supported", "-T")
@mock.patch("libmproxy.platform.resolver")
- @mock.patch("libmproxy.platform.setup")
- def test_transparent_reverse(self, _, __):
+ def test_transparent_reverse(self, _):
self.assert_err("mutually exclusive", "-R", "http://localhost", "-T")
self.assert_noerr("-T")
self.assert_err("Invalid server specification", "-R", "reverse")