summaryrefslogtreecommitdiff
path: root/tests/unit/completion/test_completionmodel.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/completion/test_completionmodel.py')
-rw-r--r--tests/unit/completion/test_completionmodel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/completion/test_completionmodel.py b/tests/unit/completion/test_completionmodel.py
index 2130f1f1c..55b70e0ef 100644
--- a/tests/unit/completion/test_completionmodel.py
+++ b/tests/unit/completion/test_completionmodel.py
@@ -24,7 +24,7 @@ import hypothesis
from hypothesis import strategies
import pytest
-from PyQt5.QtCore import QModelIndex
+from qutebrowser.qt import QtCore
from qutebrowser.completion.models import completionmodel, listcategory
from qutebrowser.utils import qtutils
@@ -114,5 +114,5 @@ def test_delete_cur_item_no_cat():
model.rowsAboutToBeRemoved.connect(callback)
model.rowsRemoved.connect(callback)
with pytest.raises(qtutils.QtValueError):
- model.delete_cur_item(QModelIndex())
+ model.delete_cur_item(QtCore.QModelIndex())
callback.assert_not_called()