diff options
author | Maximilian Hils <git@maximilianhils.com> | 2019-11-18 22:03:51 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2019-11-18 22:03:51 +0100 |
commit | 74f5fa6a7736f116416c242b159e6b0525e6fe5b (patch) | |
tree | 0c90e441aea082e91ee9b864f3c98363e1232927 /test | |
parent | 7bf06f8ae04697305731ec89a43ebea6da4376b8 (diff) | |
download | mitmproxy-74f5fa6a7736f116416c242b159e6b0525e6fe5b.tar.gz mitmproxy-74f5fa6a7736f116416c242b159e6b0525e6fe5b.tar.bz2 mitmproxy-74f5fa6a7736f116416c242b159e6b0525e6fe5b.zip |
wip
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/tools/console/test_commander.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mitmproxy/tools/console/test_commander.py b/test/mitmproxy/tools/console/test_commander.py index ce789d30..6b42de76 100644 --- a/test/mitmproxy/tools/console/test_commander.py +++ b/test/mitmproxy/tools/console/test_commander.py @@ -25,7 +25,7 @@ class TestListCompleter: for start, options, cycle in tests: c = commander.ListCompleter(start, options) for expected in cycle: - assert c.cycle(True) == expected + assert c.cycle() == expected class TestCommandEdit: @@ -252,7 +252,7 @@ class TestCommandBuffer: cb = commander.CommandBuffer(tctx.master) cb.text = "foo bar" cb.cursor = len(cb.text) - cb.cycle_completion(True) + cb.cycle_completion() ch = commander.CommandHistory(tctx.master, 30) ce = commander.CommandEdit(tctx.master, "se", ch) |