From 40ac589470c2a1ee12192ff409be0d0bd5abbf5e Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sat, 19 Jan 2013 21:34:16 +0000 Subject: [PATCH] Fix tests take 2 --- tests/functional/openlp_core_lib/test_serviceitem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/openlp_core_lib/test_serviceitem.py b/tests/functional/openlp_core_lib/test_serviceitem.py index f2662d8f2..b9b66b5bd 100644 --- a/tests/functional/openlp_core_lib/test_serviceitem.py +++ b/tests/functional/openlp_core_lib/test_serviceitem.py @@ -16,7 +16,7 @@ VERSE = u'The Lord said to {r}Noah{/r}: \n'\ 'r{/pk}{o}e{/o}{pp}n{/pp} of the Lord\n' FOOTER = [u'Arky Arky (Unknown)', u'Public Domain', u'CCLI 123456'] -TESTPATH = os.path.join(os.getcwd(),u'tests',u'functional',u'openlp_core_lib',u'resources') +TESTPATH = os.path.abspath(os.path.join(os.path.dirname(__file__), u'resources')) class TestServiceItem(TestCase):