aboutsummaryrefslogtreecommitdiffstats
path: root/test/mitmproxy/addons/test_core.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2019-11-21 14:13:08 +0100
committerGitHub <noreply@github.com>2019-11-21 14:13:08 +0100
commit3550bdfe006ba321c706b16f58a6b0d5b4e744b7 (patch)
tree46a1eb299a89866668a85fb2045f616377e538dc /test/mitmproxy/addons/test_core.py
parent3a7ca3e1e7cc4e0d1d8a6702cbf443f7cddaf00f (diff)
parentf7a3e903ac69950ef862757886ed83506b7d1bd9 (diff)
downloadmitmproxy-3550bdfe006ba321c706b16f58a6b0d5b4e744b7.tar.gz
mitmproxy-3550bdfe006ba321c706b16f58a6b0d5b4e744b7.tar.bz2
mitmproxy-3550bdfe006ba321c706b16f58a6b0d5b4e744b7.zip
Merge pull request #3693 from typoon/fix-command-bar-issue-3259
Improve Command Bar UX
Diffstat (limited to 'test/mitmproxy/addons/test_core.py')
-rw-r--r--test/mitmproxy/addons/test_core.py2
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):