sh_cpl/unittests/unittests_cli/constants.py

10 lines
353 B
Python
Raw Normal View History

2022-05-26 14:47:36 +02:00
import os
2022-12-01 17:00:17 +01:00
base = ''
if not os.getcwd().endswith('unittests'):
base = '../'
PLAYGROUND_PATH = os.path.abspath(os.path.join(os.getcwd(), f'{base}test_cli_playground'))
TRANSLATION_PATH = os.path.abspath(os.path.join(os.getcwd(), f'{base}unittests_translation'))
2022-12-01 23:23:48 +01:00
CLI_PATH = os.path.abspath(os.path.join(os.getcwd(), f'{base}../src/cpl_cli/main.py'))