summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy <jimmy@spalge.com>2022-04-25 13:21:23 +1200
committerJimmy <jimmy@spalge.com>2022-04-30 19:30:49 +1200
commit9354627d54c33f0ee4d60ae5b9c886a957cdc876 (patch)
treebf3f1d76318c261df3e3cc627d1c9b099ced36c5
parentcd109f080729037db8ba517fb2b8b27586376c62 (diff)
downloadqutebrowser-9354627d54c33f0ee4d60ae5b9c886a957cdc876.tar.gz
qutebrowser-9354627d54c33f0ee4d60ae5b9c886a957cdc876.zip
fix e2e scroll pos message sting matching
I did a mass rename of PyQt5 -> qutebrowser.qt in 80033f466f96a but in this instance the underlying canonical QPoint name is logged. So change these back but wildcard the module name so hopefully it'll work with PyQt5 and 6.
-rw-r--r--tests/end2end/fixtures/quteprocess.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py
index c80c4b5e3..b7ea27664 100644
--- a/tests/end2end/fixtures/quteprocess.py
+++ b/tests/end2end/fixtures/quteprocess.py
@@ -597,11 +597,11 @@ class QuteProc(testprocess.Process):
raise ValueError("Either both x/y or neither must be given!")
if x is None and y is None:
- point = 'qutebrowser.qt.QtCore.QPoint(*, *)' # not counting 0/0 here
+ point = '*.QtCore.QPoint(*, *)' # not counting 0/0 here
elif x == '0' and y == '0':
- point = 'qutebrowser.qt.QtCore.QPoint()'
+ point = '*.QtCore.QPoint()'
else:
- point = 'qutebrowser.qt.QtCore.QPoint({}, {})'.format(x, y)
+ point = '*.QtCore.QPoint({}, {})'.format(x, y)
self.wait_for(category='webview',
message='Scroll position changed to ' + point)