From 77fe2e1c859c3b74905aa05746f48d36e7d6312a Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 23 Jun 2018 17:25:30 +0200 Subject: [PATCH] Fix test_set_wrong_backend --- tests/unit/config/test_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/config/test_config.py b/tests/unit/config/test_config.py index e1ef7ef94..bf4f7c02d 100644 --- a/tests/unit/config/test_config.py +++ b/tests/unit/config/test_config.py @@ -642,8 +642,8 @@ class TestConfig: meth = getattr(conf, method) with pytest.raises(configexc.BackendError): with qtbot.assert_not_emitted(conf.changed): - meth('content.cookies.accept', 'all') - assert not conf._values['content.cookies.accept'] + meth('hints.find_implementation', 'javascript') + assert not conf._values['hints.find_implementation'] @pytest.mark.parametrize('method, value', [ ('set_obj', {}),