fix more tests

This commit is contained in:
Tim Bentley 2017-08-12 21:03:17 +01:00
parent 98fd78d382
commit 1f09c1c860

View File

@ -62,8 +62,9 @@ class TestApiTab(TestCase, TestMixin):
self.build_settings() self.build_settings()
Settings().extend_default_settings(__default_settings__) Settings().extend_default_settings(__default_settings__)
self.parent = QtWidgets.QMainWindow() self.parent = QtWidgets.QMainWindow()
self.form = ApiTab(self.parent) Registry().create()
Registry().set_flag('website_version', '00-00-0000') Registry().set_flag('website_version', '00-00-0000')
self.form = ApiTab(self.parent)
def tearDown(self): def tearDown(self):
""" """