This commit is contained in:
Ken Roberts 2014-10-21 08:21:19 -07:00
parent 232f048616
commit 81f6214cc5

View File

@ -43,12 +43,14 @@ 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
tmpfile = '/tmp/openlp-test-projectormanager.sql' tmpfile = '/tmp/openlp-test-projectormanager.sql'
try: try:
# In case of changed schema, remove old test file # In case of changed schema, remove old test file
os.remove(tmpfile) os.remove(tmpfile)
except FileNotFoundError: except FileNotFoundError:
pass pass
class TestProjectorManager(TestCase, TestMixin): class TestProjectorManager(TestCase, TestMixin):
""" """
Test the functions in the ProjectorManager module Test the functions in the ProjectorManager module