Revert "Initialize SQL for two failing tests."

This reverts commit 386e227ce7534f1e427db7ba6d4e53dc153a49f3.
The problem was really state leakage, initializing sql for these tests isn't
necessary.
This commit is contained in:
Ryan Roden-Corrent 2017-02-16 20:34:14 -05:00
parent 788babbb61
commit fc5fd6096a
2 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ class TestSelectorsAndFilters:
assert self.TESTS
@pytest.mark.parametrize('group, val, matching', TESTS)
def test_selectors(self, webframe, init_sql, group, val, matching):
def test_selectors(self, webframe, group, val, matching):
webframe.setHtml('<html><body>{}</body></html>'.format(val))
# Make sure setting HTML succeeded and there's a new element
assert len(webframe.findAllElements('*')) == 3

View File

@ -244,7 +244,7 @@ class TestGetAllObjects:
def __repr__(self):
return '<{}>'.format(self._name)
def test_get_all_objects(self, stubs, monkeypatch, init_sql):
def test_get_all_objects(self, stubs, monkeypatch):
# pylint: disable=unused-variable
widgets = [self.Object('Widget 1'), self.Object('Widget 2')]
app = stubs.FakeQApplication(all_widgets=widgets)