Skip to content

Commit 3676386

Browse files
committed
fix e2e scroll pos message sting matching
I did a mass rename of PyQt5 -> qutebrowser.qt in 80033f4 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.
1 parent 3440fad commit 3676386

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/end2end/fixtures/quteprocess.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -597,11 +597,11 @@ def wait_scroll_pos_changed(self, x=None, y=None):
597597
raise ValueError("Either both x/y or neither must be given!")
598598

599599
if x is None and y is None:
600-
point = 'qutebrowser.qt.QtCore.QPoint(*, *)' # not counting 0/0 here
600+
point = '*.QtCore.QPoint(*, *)' # not counting 0/0 here
601601
elif x == '0' and y == '0':
602-
point = 'qutebrowser.qt.QtCore.QPoint()'
602+
point = '*.QtCore.QPoint()'
603603
else:
604-
point = 'qutebrowser.qt.QtCore.QPoint({}, {})'.format(x, y)
604+
point = '*.QtCore.QPoint({}, {})'.format(x, y)
605605
self.wait_for(category='webview',
606606
message='Scroll position changed to ' + point)
607607

0 commit comments

Comments
 (0)