Files
Ai/integration_tests
2026-05-13 22:28:56 +03:30
..
2026-04-25 17:22:41 +03:30
2026-05-13 22:28:56 +03:30
2026-05-10 22:49:07 +03:30
2026-04-25 17:22:41 +03:30
2026-05-13 22:28:56 +03:30
2026-05-13 22:28:56 +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:

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.