diff options
author | Maximilian Hils <git@maximilianhils.com> | 2019-11-19 18:29:22 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2019-11-19 18:29:22 +0100 |
commit | c7eedcbc1a90e9705172ffd6333cb740a5e9883f (patch) | |
tree | 4f538231e068ef40f93b7277254d138d0a33b0e8 /test | |
parent | 76e648410745c61f7a659e864230b6154dc43ced (diff) | |
download | mitmproxy-c7eedcbc1a90e9705172ffd6333cb740a5e9883f.tar.gz mitmproxy-c7eedcbc1a90e9705172ffd6333cb740a5e9883f.tar.bz2 mitmproxy-c7eedcbc1a90e9705172ffd6333cb740a5e9883f.zip |
fix 'set' to only accept a single argument
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/addons/test_core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mitmproxy/addons/test_core.py b/test/mitmproxy/addons/test_core.py index 59875c2b..e6924ead 100644 --- a/test/mitmproxy/addons/test_core.py +++ b/test/mitmproxy/addons/test_core.py @@ -11,7 +11,7 @@ def test_set(): sa = core.Core() with taddons.context(loadcore=False) as tctx: assert tctx.master.options.server - tctx.command(sa.set, "server=false") + tctx.command(sa.set, "server", "false") assert not tctx.master.options.server with pytest.raises(exceptions.CommandError): |