From 9354627d54c33f0ee4d60ae5b9c886a957cdc876 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Mon, 25 Apr 2022 13:21:23 +1200 Subject: 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. --- tests/end2end/fixtures/quteprocess.py | 6 +++--- 1 file 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) -- cgit v1.2.3-54-g00ecf