summaryrefslogtreecommitdiff
path: root/tests/end2end/test_invocations.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/end2end/test_invocations.py')
-rw-r--r--tests/end2end/test_invocations.py13
1 files changed, 2 insertions, 11 deletions
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,