Fix test_set_wrong_backend
This commit is contained in:
parent
a1a5885367
commit
fd4ae2fabe
@ -179,9 +179,9 @@ class TestSet:
|
|||||||
def test_set_wrong_backend(self, commands, monkeypatch):
|
def test_set_wrong_backend(self, commands, monkeypatch):
|
||||||
monkeypatch.setattr(objects, 'backend', usertypes.Backend.QtWebEngine)
|
monkeypatch.setattr(objects, 'backend', usertypes.Backend.QtWebEngine)
|
||||||
with pytest.raises(cmdexc.CommandError,
|
with pytest.raises(cmdexc.CommandError,
|
||||||
match="The content.cookies.accept setting is not "
|
match="The hints.find_implementation setting is "
|
||||||
"available with the QtWebEngine backend!"):
|
"not available with the QtWebEngine backend!"):
|
||||||
commands.set(0, 'content.cookies.accept', 'all')
|
commands.set(0, 'hints.find_implementation', 'javascript')
|
||||||
|
|
||||||
@pytest.mark.parametrize('option', ['?', 'url.auto_search'])
|
@pytest.mark.parametrize('option', ['?', 'url.auto_search'])
|
||||||
def test_empty(self, commands, option):
|
def test_empty(self, commands, option):
|
||||||
|
Loading…
Reference in New Issue
Block a user