From a48cccadb5efb49db2e3007f69275614690027a1 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Fri, 18 Jul 2014 03:13:52 +0200 Subject: [PATCH] fix tests on windows --- test/test_proxy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_proxy.py b/test/test_proxy.py index 0f4384824..96279b9f6 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")