diff options
Diffstat (limited to 'tests/unit/javascript/stylesheet/test_stylesheet_js.py')
-rw-r--r-- | tests/unit/javascript/stylesheet/test_stylesheet_js.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/unit/javascript/stylesheet/test_stylesheet_js.py b/tests/unit/javascript/stylesheet/test_stylesheet_js.py index fd0189919..9698f644e 100644 --- a/tests/unit/javascript/stylesheet/test_stylesheet_js.py +++ b/tests/unit/javascript/stylesheet/test_stylesheet_js.py @@ -22,10 +22,12 @@ import pathlib import pytest -QtWebEngineCore = pytest.importorskip("qutebrowser.qt.webenginecore") -QWebEngineProfile = QtWebEngineCore.QWebEngineProfile - from qutebrowser.utils import javascript +from helpers import testutils + + +QtWebEngineCore = testutils.qt_module_skip("webenginecore") +QWebEngineProfile = QtWebEngineCore.QWebEngineProfile DEFAULT_BODY_BG = "rgba(0, 0, 0, 0)" |