sh_cpl/unittests/unittests_cli/constants.py

10 lines
353 B
Python
Raw Permalink Normal View History

2022-05-26 14:47:36 +02:00
import os
2023-02-20 15:55:20 +01:00
base = ""
if not os.getcwd().endswith("unittests"):
base = "../"
2022-12-01 17:00:17 +01:00
2023-02-20 15:55:20 +01:00
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"))
CLI_PATH = os.path.abspath(os.path.join(os.getcwd(), f"{base}../src/cpl_cli/main.py"))