summaryrefslogtreecommitdiff
path: root/tests/unit/completion/test_models.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-09-10 11:46:12 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-09-10 11:46:12 +0200
commit8ddb8282fe25e39016ad513f7ac3e5c1425e88ee (patch)
treefdc5accb35962c3954b1b2d091a46f7c0ba0c3be /tests/unit/completion/test_models.py
parent21570b423ea4bb74c373993a5b5f66de5a4eef81 (diff)
downloadqutebrowser-8ddb8282fe25e39016ad513f7ac3e5c1425e88ee.tar.gz
qutebrowser-8ddb8282fe25e39016ad513f7ac3e5c1425e88ee.zip
tests: Make stubbed config less confusing
Diffstat (limited to 'tests/unit/completion/test_models.py')
-rw-r--r--tests/unit/completion/test_models.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/completion/test_models.py b/tests/unit/completion/test_models.py
index 269fd43ed..2ac7084dd 100644
--- a/tests/unit/completion/test_models.py
+++ b/tests/unit/completion/test_models.py
@@ -124,7 +124,7 @@ def configdata_stub(config_stub, monkeypatch, configdata_init):
no_autoconfig=True)),
('bindings.commands', configdata.Option(
name='bindings.commands',
- description='Default keybindings',
+ description='Custom keybindings',
typ=configtypes.Dict(
keytype=configtypes.String(),
valtype=configtypes.Dict(
@@ -276,7 +276,7 @@ def test_help_completion(qtmodeltester, cmdutils_stub, key_config_stub,
),
(
'bindings.commands',
- 'Default keybindings',
+ 'Custom keybindings',
('{"normal": {"<Ctrl+q>": "quit", "I": "invalid", "ZQ": "quit", '
'"d": "scroll down"}}'),
),
@@ -934,7 +934,7 @@ def test_setting_option_completion(qtmodeltester, config_stub,
_check_completions(model, {
"Options": [
('aliases', 'Aliases for commands.', '{"q": "quit"}'),
- ('bindings.commands', 'Default keybindings', (
+ ('bindings.commands', 'Custom keybindings', (
'{"normal": {"<Ctrl+q>": "quit", "I": "invalid", '
'"ZQ": "quit", "d": "scroll down"}}')),
('completion.open_categories', 'Which categories to show (in '
@@ -958,7 +958,7 @@ def test_setting_dict_option_completion(qtmodeltester, config_stub,
_check_completions(model, {
"Dict options": [
('aliases', 'Aliases for commands.', '{"q": "quit"}'),
- ('bindings.commands', 'Default keybindings', (
+ ('bindings.commands', 'Custom keybindings', (
'{"normal": {"<Ctrl+q>": "quit", "I": "invalid", '
'"ZQ": "quit", "d": "scroll down"}}')),
('url.searchengines', 'searchengines list',