This commit is contained in:
2026-05-11 03:27:21 +03:30
parent cf7cbb937c
commit d0e68a1a56
854 changed files with 102985 additions and 76 deletions
+19
View File
@@ -0,0 +1,19 @@
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.