platform-core/tests/conftest.py
Ida 149934b730
Some checks failed
Deploy Plattform-Core / test (push) Failing after 2s
Deploy Plattform-Core / deploy (push) Has been skipped
fix: test script
2026-05-20 13:12:23 +02:00

14 lines
363 B
Python

# Copyright (c) 2025 Patrick Motsch
# All rights reserved.
"""
Pytest configuration file for test suite.
Ensures proper Python path setup for importing modules.
"""
import sys
from pathlib import Path
# Add gateway directory to Python path
gateway_dir = Path(__file__).parent.parent
if str(gateway_dir) not in sys.path:
sys.path.insert(0, str(gateway_dir))