gateway/tests/conftest.py
2025-12-15 21:55:26 +01:00

16 lines
374 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
import os
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))