forked from openlp/openlp
Missed ProjectorEditForm import for test
This commit is contained in:
parent
81e7798c50
commit
f9f4296acf
@ -35,7 +35,7 @@ from openlp.core.common import Registry, Settings
|
|||||||
from tests.functional import patch, MagicMock
|
from tests.functional import patch, MagicMock
|
||||||
from tests.helpers.testmixin import TestMixin
|
from tests.helpers.testmixin import TestMixin
|
||||||
|
|
||||||
from openlp.core.ui import ProjectorManager
|
from openlp.core.ui import ProjectorManager, ProjectorEditForm
|
||||||
from openlp.core.lib.projector.db import Projector, ProjectorDB
|
from openlp.core.lib.projector.db import Projector, ProjectorDB
|
||||||
|
|
||||||
from tests.resources.projector.data import TEST1_DATA, TEST2_DATA, TEST3_DATA
|
from tests.resources.projector.data import TEST1_DATA, TEST2_DATA, TEST3_DATA
|
||||||
@ -98,4 +98,4 @@ class TestProjectorManager(TestCase, TestMixin):
|
|||||||
'Initialization should have created a Projector Edit Form')
|
'Initialization should have created a Projector Edit Form')
|
||||||
self.assertIs(self.projector_manager.projectordb,
|
self.assertIs(self.projector_manager.projectordb,
|
||||||
self.projector_manager.projector_form.projectordb,
|
self.projector_manager.projector_form.projectordb,
|
||||||
'ProjectorEditForm should be using same ProjectorDB() instance')
|
'ProjectorEditForm should be using same ProjectorDB() instance as ProjectorManager')
|
||||||
|
Loading…
Reference in New Issue
Block a user