← Files Zuora Coding AgentARCHIVED FILE
templates/uat-test-starter/uat/execution/scripts/repo_path_bootstrap.py
357 Bytes · Oct 2, 2026 · 00:30 UTC
"""Prepend ``execution/`` to ``sys.path`` so ``from tests.test_utils.repo_paths import …`` works in CLI scripts."""
from __future__ import annotations
import sys
from pathlib import Path
def ensure() -> None:
execution_dir = Path(__file__).resolve().parent.parent
s = str(execution_dir)
if s not in sys.path:
sys.path.insert(0, s)
SHA-256: d24ed87cb534fe79e0bb8407394ff1c03a77ba952af67c159b8731ede50f3c77