AIDA / tests /conftest.py
destinyebuka's picture
fyp
b7833be
# tests/conftest.py
"""
Pytest configuration file.
Sets up Python path so that tests can import from the app module.
"""
import sys
import os
# Add the AIDA directory to Python path so 'app' module can be found
aida_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if aida_dir not in sys.path:
sys.path.insert(0, aida_dir)