Fix test_configinit

This commit is contained in:
Florian Bruhin 2018-03-20 22:16:16 +01:00
parent f9d976880e
commit 11696f0073

View File

@ -393,12 +393,11 @@ class TestQtArgs:
lambda version, compiled: False)
monkeypatch.setattr(configinit.objects, 'backend',
usertypes.Backend.QtWebEngine)
parsed = parser.parse_args()
parsed = parser.parse_args([])
expected = [sys.argv[0], '--disable-shared-workers']
assert configinit.qt_args(parsed) == expected
@pytest.mark.parametrize('arg, confval, used', [
# overridden by commandline arg
('webkit', 'webengine', usertypes.Backend.QtWebKit),