diff options
Diffstat (limited to 'tests/end2end/features/test_prompts_bdd.py')
-rw-r--r-- | tests/end2end/features/test_prompts_bdd.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/end2end/features/test_prompts_bdd.py b/tests/end2end/features/test_prompts_bdd.py index 2e0cf06dc..26c12fd1a 100644 --- a/tests/end2end/features/test_prompts_bdd.py +++ b/tests/end2end/features/test_prompts_bdd.py @@ -7,7 +7,8 @@ import logging import pytest_bdd as bdd bdd.scenarios('prompts.feature') -from qutebrowser.utils import qtutils, version +from qutebrowser.utils import qtutils +from qutebrowser.qt.webenginecore import PYQT_WEBENGINE_VERSION @bdd.when("I load an SSL page") @@ -47,7 +48,7 @@ def fresh_instance(quteproc): # browser to make it forget previous prompts. if ( qtutils.version_check("6.8", compiled=False) - and version.PYQT_WEBENGINE_VERSION_STR < "6.8.0" + and PYQT_WEBENGINE_VERSION < 0x60800 ): quteproc.terminate() quteproc.start() |