summaryrefslogtreecommitdiff
path: root/tests/unit/completion/test_models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/completion/test_models.py')
-rw-r--r--tests/unit/completion/test_models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/completion/test_models.py b/tests/unit/completion/test_models.py
index 572dfc91e..ad3fc31f9 100644
--- a/tests/unit/completion/test_models.py
+++ b/tests/unit/completion/test_models.py
@@ -40,6 +40,7 @@ from qutebrowser.config import configdata, configtypes
from qutebrowser.utils import usertypes
from qutebrowser.mainwindow import tabbedbrowser
from qutebrowser.qt import webenginecore, core
+from helpers import testutils
def _check_completions(model, expected):
@@ -1342,7 +1343,7 @@ def test_url_completion_benchmark(benchmark, info,
@pytest.fixture
def tab_with_history(fake_web_tab, tabbed_browser_stubs, info, monkeypatch):
"""Returns a fake tab with some fake history items."""
- pytest.importorskip('qutebrowser.qt.webenginewidgets')
+ testutils.qt_module_skip('webenginewidgets')
tab = fake_web_tab(core.QUrl('https://github.com'), 'GitHub', 0)
current_idx = 2
monkeypatch.setattr(