openlp/tests/utils/constants.py

9 lines
249 B
Python
Raw Normal View History

import os
2017-12-22 21:20:49 +00:00
from openlp.core.common.path import Path
2013-08-31 18:17:38 +00:00
OPENLP_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))
TEST_RESOURCES_PATH = os.path.join(OPENLP_PATH, 'tests', 'resources')
2017-12-22 21:20:49 +00:00
RESOURCE_PATH = Path(TEST_RESOURCES_PATH)