Fix test_configinit
This commit is contained in:
parent
f9d976880e
commit
11696f0073
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user