diff options
author | Florian Bruhin <me@the-compiler.org> | 2018-10-06 19:18:43 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2018-10-06 19:18:43 +0200 |
commit | c6897608720cf6f975bd1f3386ac568d1d4f4a99 (patch) | |
tree | aa56c7f9bacf6e2e9fd6206b94f8cc5a54aaa08a /tests/unit/completion/test_models.py | |
parent | f63eb8ea15335dd34ee5403332dec39dacdf0f7b (diff) | |
download | qutebrowser-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.py | 4 |
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"]'), |