From 9b6541638ea01a128df84f681a378e705c5a445e Mon Sep 17 00:00:00 2001 From: arza Date: Thu, 1 Sep 2016 21:05:44 +0300 Subject: [PATCH] Update CHANGED_KEY_COMMANDS and test_migrations for sk-keybinding. --- qutebrowser/config/configdata.py | 1 + tests/unit/config/test_config.py | 1 + 2 files changed, 2 insertions(+) diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index f140dbe52..1c01c8470 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -1735,4 +1735,5 @@ CHANGED_KEY_COMMANDS = [ (re.compile(r'^set-cmd-text -s :search$'), r'set-cmd-text /'), (re.compile(r'^set-cmd-text -s :search -r$'), r'set-cmd-text ?'), (re.compile(r'^set-cmd-text -s :$'), r'set-cmd-text :'), + (re.compile(r'^set-cmd-text -s :set keybind$'), r'set-cmd-text -s :bind'), ] diff --git a/tests/unit/config/test_config.py b/tests/unit/config/test_config.py index c35b455ee..8e903c6c8 100644 --- a/tests/unit/config/test_config.py +++ b/tests/unit/config/test_config.py @@ -344,6 +344,7 @@ class TestKeyConfigParser: ('set-cmd-text -s :search', 'set-cmd-text /'), ('set-cmd-text -s :search -r', 'set-cmd-text ?'), ('set-cmd-text -s :', 'set-cmd-text :'), + ('set-cmd-text -s :set keybind', 'set-cmd-text -s :bind'), ] ) def test_migrations(self, old, new_expected):