Files
filwordspl-backend/tests
Drobysh 571139f364 🧪 Smoke-test: TestClient → httpx.AsyncClient (fix asyncpg loop conflict)
Root cause: TestClient (starlette) создаёт свой event loop для каждого
запроса, а asyncpg-пул привязан к тому event loop, в котором создан.
Второй запрос падал с InterfaceError: cannot perform operation:
another operation is in progress.

- Заменён TestClient на httpx.AsyncClient + ASGITransport
- Все client.get/post теперь с await
- Все запросы идут в том же event loop, что и asyncpg-пул
2026-09-26 08:49:46 +00:00
..
2026-09-20 11:45:58 +00:00
2026-09-20 11:45:58 +00:00
2026-09-20 11:45:58 +00:00
2026-09-20 11:45:58 +00:00
2026-09-20 11:45:58 +00:00