summaryrefslogtreecommitdiff
path: root/tests/unit/completion/test_models.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2018-10-06 19:18:43 +0200
committerFlorian Bruhin <me@the-compiler.org>2018-10-06 19:18:43 +0200
commitc6897608720cf6f975bd1f3386ac568d1d4f4a99 (patch)
treeaa56c7f9bacf6e2e9fd6206b94f8cc5a54aaa08a /tests/unit/completion/test_models.py
parentf63eb8ea15335dd34ee5403332dec39dacdf0f7b (diff)
downloadqutebrowser-c6897608720cf6f975bd1f3386ac568d1d4f4a99.tar.gz
qutebrowser-c6897608720cf6f975bd1f3386ac568d1d4f4a99.zip
Sort keys in configtypes.Dict.to_str
Otherwise, we get inconsistent output between runs on Python 3.5
Diffstat (limited to 'tests/unit/completion/test_models.py')
-rw-r--r--tests/unit/completion/test_models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/completion/test_models.py b/tests/unit/completion/test_models.py
index bace2f6f6..c820147e5 100644
--- a/tests/unit/completion/test_models.py
+++ b/tests/unit/completion/test_models.py
@@ -844,8 +844,8 @@ def test_setting_option_completion(qtmodeltester, config_stub,
"Options": [
('aliases', 'Aliases for commands.', '{"q": "quit"}'),
('bindings.commands', 'Default keybindings', (
- '{"normal": {"<Ctrl+q>": "quit", "ZQ": "quit", '
- '"I": "invalid", "d": "scroll down"}}')),
+ '{"normal": {"<Ctrl+q>": "quit", "I": "invalid", '
+ '"ZQ": "quit", "d": "scroll down"}}')),
('completion.open_categories', 'Which categories to show (in '
'which order) in the :open completion.',
'["searchengines", "quickmarks", "bookmarks", "history"]'),