diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-07-18 03:13:52 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-07-18 03:13:52 +0200 |
commit | a48cccadb5efb49db2e3007f69275614690027a1 (patch) | |
tree | f7cf4772f5c7ccef3bf0c9ed9d0711d2f61c5539 /test/test_proxy.py | |
parent | 05a8c52f8f6c4fb5f1820475b9682da5a1eeadda (diff) | |
download | mitmproxy-a48cccadb5efb49db2e3007f69275614690027a1.tar.gz mitmproxy-a48cccadb5efb49db2e3007f69275614690027a1.tar.bz2 mitmproxy-a48cccadb5efb49db2e3007f69275614690027a1.zip |
fix tests on windows
Diffstat (limited to 'test/test_proxy.py')
-rw-r--r-- | test/test_proxy.py | 3 |
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") |