Fix broken test after default config change

This commit is contained in:
Luca Benci 2017-10-22 20:02:06 +02:00
parent 9613deb89d
commit 8b91a74aef

View File

@ -60,8 +60,9 @@ class TestSet:
@pytest.mark.parametrize('option, old_value, inp, new_value', [ @pytest.mark.parametrize('option, old_value, inp, new_value', [
('url.auto_search', 'naive', 'dns', 'dns'), ('url.auto_search', 'naive', 'dns', 'dns'),
# https://github.com/qutebrowser/qutebrowser/issues/2962 # https://github.com/qutebrowser/qutebrowser/issues/2962
('editor.command', ['gvim', '-f', '{}'], '[emacs, "{}"]', ('editor.command',
['emacs', '{}']), ['gvim', '-f', '{file}', '-c', 'normal {line}G{column0}l'],
'[emacs, "{}"]', ['emacs', '{}']),
]) ])
def test_set_simple(self, monkeypatch, commands, config_stub, def test_set_simple(self, monkeypatch, commands, config_stub,
temp, option, old_value, inp, new_value): temp, option, old_value, inp, new_value):