add tests

This commit is contained in:
2026-10-26 23:02:39 +03:00
parent 3082b84f61
commit 8ad0bb6947
22 changed files with 1042 additions and 121 deletions
+4 -2
View File
@@ -1,5 +1,5 @@
import logging
import json
import logging
from httpx import AsyncClient
@@ -52,7 +52,9 @@ async def test_method_not_allowed_preserves_405(client: AsyncClient):
assert_request_id(response)
async def test_unhandled_exception_is_hidden_from_client(client_no_raise: AsyncClient, caplog):
async def test_unhandled_exception_is_hidden_from_client(
client_no_raise: AsyncClient, caplog
):
with caplog.at_level(logging.ERROR, logger="app.errors.handlers"):
response = await client_no_raise.get("/__test__/explode")