From fd4ae2fabe8e8134154dd2853346667cf6430c2c Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 12 Jun 2018 14:17:10 +0200 Subject: [PATCH] Fix test_set_wrong_backend --- tests/unit/config/test_configcommands.py | 6 +++--- 1 file 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):