diff --git a/tests/helpers/stubs.py b/tests/helpers/stubs.py index 7cb15c1c6..89fca47d7 100644 --- a/tests/helpers/stubs.py +++ b/tests/helpers/stubs.py @@ -256,7 +256,8 @@ class FakeWebTab(browsertab.AbstractTab): wrapped = QWidget() self._layout.wrap(self, wrapped) - def url(self): + def url(self, requested=False): + assert not requested return self._url def title(self):