From 55551f9211c89a13225ca27d7159425cabf506d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 27 Sep 2023 16:18:52 +0200 Subject: [PATCH] fix clan-pytest build --- pkgs/clan-cli/tests/root.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/clan-cli/tests/root.py b/pkgs/clan-cli/tests/root.py index 9185ac17a..0cac067be 100644 --- a/pkgs/clan-cli/tests/root.py +++ b/pkgs/clan-cli/tests/root.py @@ -4,17 +4,17 @@ from pathlib import Path import pytest TEST_ROOT = Path(__file__).parent.resolve() -PROJECT_ROOT = TEST_ROOT.parent.parent.parent +PROJECT_ROOT = TEST_ROOT.parent if CLAN_CORE_ := os.environ.get("CLAN_CORE"): CLAN_CORE = Path(CLAN_CORE_) else: - CLAN_CORE = PROJECT_ROOT + CLAN_CORE = PROJECT_ROOT.parent.parent @pytest.fixture(scope="session") def project_root() -> Path: """ - Root directory the clan-core + Root directory the clan-cli """ return PROJECT_ROOT