forked from openlp/openlp
fix up tests
This commit is contained in:
parent
4547b7b4eb
commit
6b4ed77fee
@ -44,6 +44,9 @@ class TestListPreviewWidget(TestCase, TestMixin):
|
||||
Registry.create()
|
||||
self.setup_application()
|
||||
State().load_settings()
|
||||
State().add_service("media", 0)
|
||||
State().update_pre_conditions("media", True)
|
||||
State().flush_preconditions()
|
||||
self.main_window = QtWidgets.QMainWindow()
|
||||
self.image = QtGui.QImage(1, 1, QtGui.QImage.Format_RGB32)
|
||||
self.image_manager = MagicMock()
|
||||
|
Loading…
Reference in New Issue
Block a user