diff --git a/tests/unit/browser/webkit/test_webkitelem.py b/tests/unit/browser/webkit/test_webkitelem.py index deff844fe..f6cd44a8c 100644 --- a/tests/unit/browser/webkit/test_webkitelem.py +++ b/tests/unit/browser/webkit/test_webkitelem.py @@ -211,7 +211,7 @@ class TestSelectorsAndFilters: assert self.TESTS @pytest.mark.parametrize('group, val, matching', TESTS) - def test_selectors(self, webframe, group, val, matching): + def test_selectors(self, webframe, init_sql, group, val, matching): webframe.setHtml('{}'.format(val)) # Make sure setting HTML succeeded and there's a new element assert len(webframe.findAllElements('*')) == 3 diff --git a/tests/unit/utils/test_debug.py b/tests/unit/utils/test_debug.py index 9b77b9628..646858163 100644 --- a/tests/unit/utils/test_debug.py +++ b/tests/unit/utils/test_debug.py @@ -244,7 +244,7 @@ class TestGetAllObjects: def __repr__(self): return '<{}>'.format(self._name) - def test_get_all_objects(self, stubs, monkeypatch): + def test_get_all_objects(self, stubs, monkeypatch, init_sql): # pylint: disable=unused-variable widgets = [self.Object('Widget 1'), self.Object('Widget 2')] app = stubs.FakeQApplication(all_widgets=widgets)