This commit is contained in:
Ken Roberts 2014-10-21 08:21:19 -07:00
parent 232f048616
commit 81f6214cc5
1 changed files with 2 additions and 0 deletions

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