Files
Ai/integration_tests/README.md
T

20 lines
711 B
Markdown
Raw Normal View History

2026-04-25 17:22:41 +03:30
Integration tests in this folder are intended to run against the project's
configured MySQL backend, so the API flow is exercised with a real relational
database instead of in-memory fixtures.
Recommended command:
```bash
DJANGO_SETTINGS_MODULE=config.settings python manage.py test integration_tests
```
Notes:
- Django will still create an isolated test database on the same MySQL server
(for example `test_ai` when `DB_NAME=ai`).
- External AI providers, remote sensing calls, and Celery workers are stubbed
inside the tests so the suite stays deterministic while database writes stay
real.
- The tests in this folder use the full `config.urls` router, not the reduced
`config.test_urls` router.