# Tests This directory contains test files for the GAIA agent system. ## Test Files - `test_database.py` - Tests database search integration and similarity matching - `test_single.py` - Single question test for debugging specific issues - `test_routing.py` - Tests intelligent routing and agent decision-making ## Running Tests Make sure to activate the virtual environment first: ```bash source .venv/bin/activate ``` Then run individual tests: ```bash python tests/test_database.py python tests/test_single.py python tests/test_routing.py ``` ## Test Structure All test files include the necessary path setup to import modules from the parent directory: ```python import sys import os sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) ``` This allows the tests to import from the main project modules while being organized in a separate directory.