diff options
author | Florian Bruhin <git@the-compiler.org> | 2018-06-12 14:17:10 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2018-06-12 14:17:50 +0200 |
commit | fd4ae2fabe8e8134154dd2853346667cf6430c2c (patch) | |
tree | 5da32b1823fcabd4cb919a56be3913addcdbc08e /tests/unit/config/test_configcommands.py | |
parent | a1a5885367764f2ca47d6581dde168e9b3b90be5 (diff) | |
download | qutebrowser-fd4ae2fabe8e8134154dd2853346667cf6430c2c.tar.gz qutebrowser-fd4ae2fabe8e8134154dd2853346667cf6430c2c.zip |
Fix test_set_wrong_backend
Diffstat (limited to 'tests/unit/config/test_configcommands.py')
-rw-r--r-- | tests/unit/config/test_configcommands.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/config/test_configcommands.py b/tests/unit/config/test_configcommands.py index 056bdb455..343e7c8ca 100644 --- a/tests/unit/config/test_configcommands.py +++ b/tests/unit/config/test_configcommands.py @@ -179,9 +179,9 @@ class TestSet: def test_set_wrong_backend(self, commands, monkeypatch): monkeypatch.setattr(objects, 'backend', usertypes.Backend.QtWebEngine) with pytest.raises(cmdexc.CommandError, - match="The content.cookies.accept setting is not " - "available with the QtWebEngine backend!"): - commands.set(0, 'content.cookies.accept', 'all') + match="The hints.find_implementation setting is " + "not available with the QtWebEngine backend!"): + commands.set(0, 'hints.find_implementation', 'javascript') @pytest.mark.parametrize('option', ['?', 'url.auto_search']) def test_empty(self, commands, option): |