decomposer: scaffold crucible-agent-build-fastapi-endpoint
Some checks failed
ci / test (push) Has been cancelled

This commit is contained in:
2026-08-09 15:54:27 +00:00
parent b47c008708
commit ba4b0b275a

View File

@@ -1,16 +1 @@
import httpx # Env var setup that must run before app.config is imported.
import pytest_asyncio
from endpoint_monitor.config import Settings
from endpoint_monitor.main import create_app
@pytest_asyncio.fixture
async def app():
return create_app(Settings(max_monitors=10, request_timeout_seconds=1, max_redirects=2))
@pytest_asyncio.fixture
async def client(app):
async with httpx.AsyncClient(transport=httpx.ASGITransport(app=app), base_url="http://test") as value:
yield value