diff --git a/tests/unit/completion/test_models.py b/tests/unit/completion/test_models.py index c3593031c..d5ec4433b 100644 --- a/tests/unit/completion/test_models.py +++ b/tests/unit/completion/test_models.py @@ -105,7 +105,7 @@ def configdata_stub(config_stub, monkeypatch, configdata_init): ), default={ 'normal': collections.OrderedDict([ - ('', 'quit'), + ('', 'quit'), ('d', 'tab-close'), ]) }, @@ -123,7 +123,7 @@ def configdata_stub(config_stub, monkeypatch, configdata_init): ), default={ 'normal': collections.OrderedDict([ - ('', 'quit'), + ('', 'quit'), ('ZQ', 'quit'), ('I', 'invalid'), ('d', 'scroll down'), @@ -215,7 +215,7 @@ def test_command_completion(qtmodeltester, cmdutils_stub, configdata_stub, "Commands": [ ('open', 'open a url', ''), ('q', "Alias for 'quit'", ''), - ('quit', 'quit qutebrowser', 'ZQ, '), + ('quit', 'quit qutebrowser', 'ZQ, '), ('tab-close', 'Close the current tab.', ''), ] }) @@ -240,7 +240,7 @@ def test_help_completion(qtmodeltester, cmdutils_stub, key_config_stub, _check_completions(model, { "Commands": [ (':open', 'open a url', ''), - (':quit', 'quit qutebrowser', 'ZQ, '), + (':quit', 'quit qutebrowser', 'ZQ, '), (':scroll', 'Scroll the current tab in the given direction.', ''), (':tab-close', 'Close the current tab.', ''), ], @@ -644,10 +644,10 @@ def test_setting_option_completion(qtmodeltester, config_stub, "Options": [ ('aliases', 'Aliases for commands.', '{"q": "quit"}'), ('bindings.commands', 'Default keybindings', ( - '{"normal": {"": "quit", "ZQ": "quit", ' + '{"normal": {"": "quit", "ZQ": "quit", ' '"I": "invalid", "d": "scroll down"}}')), ('bindings.default', 'Default keybindings', - '{"normal": {"": "quit", "d": "tab-close"}}'), + '{"normal": {"": "quit", "d": "tab-close"}}'), ] }) @@ -674,7 +674,7 @@ def test_bind_completion(qtmodeltester, cmdutils_stub, config_stub, "Commands": [ ('open', 'open a url', ''), ('q', "Alias for 'quit'", ''), - ('quit', 'quit qutebrowser', 'ZQ, '), + ('quit', 'quit qutebrowser', 'ZQ, '), ('scroll', 'Scroll the current tab in the given direction.', ''), ('tab-close', 'Close the current tab.', ''), ], @@ -694,7 +694,7 @@ def test_bind_completion_invalid(cmdutils_stub, config_stub, key_config_stub, "Commands": [ ('open', 'open a url', ''), ('q', "Alias for 'quit'", ''), - ('quit', 'quit qutebrowser', 'ZQ, '), + ('quit', 'quit qutebrowser', 'ZQ, '), ('scroll', 'Scroll the current tab in the given direction.', ''), ('tab-close', 'Close the current tab.', ''), ], @@ -713,7 +713,7 @@ def test_bind_completion_no_binding(qtmodeltester, cmdutils_stub, config_stub, "Commands": [ ('open', 'open a url', ''), ('q', "Alias for 'quit'", ''), - ('quit', 'quit qutebrowser', 'ZQ, '), + ('quit', 'quit qutebrowser', 'ZQ, '), ('scroll', 'Scroll the current tab in the given direction.', ''), ('tab-close', 'Close the current tab.', ''), ], @@ -735,7 +735,7 @@ def test_bind_completion_changed(cmdutils_stub, config_stub, key_config_stub, "Commands": [ ('open', 'open a url', ''), ('q', "Alias for 'quit'", ''), - ('quit', 'quit qutebrowser', 'ZQ, '), + ('quit', 'quit qutebrowser', 'ZQ, '), ('scroll', 'Scroll the current tab in the given direction.', ''), ('tab-close', 'Close the current tab.', ''), ],