summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/end2end/fixtures/quteprocess.py1
-rw-r--r--tests/end2end/test_invocations.py13
2 files changed, 3 insertions, 11 deletions
diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py
index c4b277015..234113b86 100644
--- a/tests/end2end/fixtures/quteprocess.py
+++ b/tests/end2end/fixtures/quteprocess.py
@@ -56,6 +56,7 @@ def is_ignored_lowlevel_message(message):
# Qt 6.2 / 6.3
'Fontconfig error: Cannot load default config file: No such file: (null)',
'Fontconfig error: Cannot load default config file',
+ 'WARNING: lavapipe is not a conformant vulkan implementation, testing use only.',
]
return any(testutils.pattern_match(pattern=pattern, value=message)
for pattern in ignored_messages)
diff --git a/tests/end2end/test_invocations.py b/tests/end2end/test_invocations.py
index f53ed3129..91bb45303 100644
--- a/tests/end2end/test_invocations.py
+++ b/tests/end2end/test_invocations.py
@@ -802,25 +802,16 @@ def test_unavailable_backend(request, quteproc_new):
that the chosen backend is actually available - i.e., that the error message is
properly printed, rather than an unhandled exception.
"""
- qtwe_module = "qutebrowser.qt.webenginewidgets"
- qtwk_module = "qutebrowser.qt.webkitwidgets"
+ qtwe_module = "webenginewidgets"
+ qtwk_module = "webkitwidgets"
# Note we want to try the *opposite* backend here.
if request.config.webengine:
testutils.qt_module_skip(qtwe_module)
- module = qtwk_module
backend = 'webkit'
else:
testutils.qt_module_skip(qtwk_module)
- module = qtwe_module
backend = 'webengine'
- try:
- importlib.import_module(module)
- except ImportError:
- pass
- else:
- pytest.skip(f"{module} is available")
-
args = [
'--debug', '--json-logging', '--no-err-windows',
'--backend', backend,