summaryrefslogtreecommitdiff
path: root/tests/unit/misc/test_autoupdate.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/misc/test_autoupdate.py')
-rw-r--r--tests/unit/misc/test_autoupdate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/misc/test_autoupdate.py b/tests/unit/misc/test_autoupdate.py
index f7cf78248..1457d5034 100644
--- a/tests/unit/misc/test_autoupdate.py
+++ b/tests/unit/misc/test_autoupdate.py
@@ -21,7 +21,7 @@
"""Tests for qutebrowser.misc.autoupdate."""
import pytest
-from PyQt5.QtCore import QUrl
+from qutebrowser.qt import QtCore
from qutebrowser.misc import autoupdate, httpclient
@@ -68,7 +68,7 @@ def test_get_version_success(qtbot):
with qtbot.wait_signal(client.success):
client.get_version('test')
- assert http_stub.url == QUrl(client.API_URL.format('test'))
+ assert http_stub.url == QtCore.QUrl(client.API_URL.format('test'))
def test_get_version_error(qtbot):