Fixed the integration tests to use absolute paths when creating
temporary activity YAML files in the research directory.
The tests were failing in GitHub Actions with "unable to open database
file" errors because they used relative paths (Path("research")) which
didn't work correctly in the GitHub Actions working directory.
Changes:
- Use Path(__file__).parent.parent.parent to get absolute base directory
- Apply absolute path to both file creation and cleanup operations
- All 9 integration tests pass locally
This ensures tests work consistently across local development and
GitHub Actions environments.
|
||
|---|---|---|
| .. | ||
| test_activity_integration.py | ||
| test_activity_processing.py | ||
| test_app_activity_functions.py | ||
| test_app_integration.py | ||
| test_multiple_activities.py | ||