deduplicate CLAN_CORE/CLAN_CORE_PATH environment variables

This commit is contained in:
Jörg Thalheim
2025-03-19 11:01:07 +01:00
committed by Mic92
parent 63a0e5f35d
commit b84230ff90
4 changed files with 3 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ import pytest
TEST_ROOT = Path(__file__).parent.resolve()
PROJECT_ROOT = TEST_ROOT.parent
if CLAN_CORE_ := os.environ.get("CLAN_CORE"):
if CLAN_CORE_ := os.environ.get("CLAN_CORE_PATH"):
CLAN_CORE = Path(CLAN_CORE_)
else:
CLAN_CORE = PROJECT_ROOT.parent.parent