aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_proxy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py
index 0f438482..96279b9f 100644
--- a/test/test_proxy.py
+++ b/test/test_proxy.py
@@ -70,7 +70,8 @@ class TestProcessProxyOptions:
self.assert_err("transparent mode not supported", "-T")
@mock.patch("libmproxy.platform.resolver")
- def test_transparent_reverse(self, o):
+ @mock.patch("libmproxy.platform.setup")
+ 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")