Publish curated GeoIntel source snapshot

This commit is contained in:
Jens committed 2026-09-29 22:16:56 +02:00
commit 0aae654d6e
764 files changed
+169154

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
"""Canonical backend-test import boundary.
Pytest is intentionally runnable from ``backend/`` because that is the CI
entrypoint. Some contract tests exercise repository-level deterministic
scripts; put the canonical repository root ahead of the legacy
``backend/scripts`` helper directory so those imports resolve to the code that
is actually shipped by the root Docker build.
"""
from __future__ import annotations
import sys
from pathlib import Path
REPOSITORY_ROOT = Path(__file__).resolve().parents[2]
repository_root_text = str(REPOSITORY_ROOT)
if repository_root_text not in sys.path:
sys.path.insert(0, repository_root_text)