Logo
Explore Help
Sign In
platform/crucible-agent-build-fastapi-endpoint
2
0
Fork 0
You've already forked crucible-agent-build-fastapi-endpoint
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
b06357213b624bff3b4fa2ad1c7ee600f437b70e
crucible-agent-build-fastap…/tests/conftest.py
demo-bot af557ea48c decomposer: generate deliverable files for Define the service contract and project architecture for the FastAPI endpoint monitoring service.; Implement the typed monitor CRUD API and concurrency-safe in-memory state according to the service design.; Implement secure on-demand endpoint checks with status updates, latency measurement, robust error handling, and redacted structured logs.; Add operational API endpoints and environment-driven runtime configuration to the monitoring service.; Create automated tests for the monitoring service.; Package the service with Docker and developer documentation.; Validate the complete project.
2026-08-09 15:35:42 +00:00

15 lines
369 B
Python
Raw Blame History

from collections.abc import Iterator
import pytest
from fastapi.testclient import TestClient
from app.main import create_app
from app.settings import Settings
@pytest.fixture
def client() -> Iterator[TestClient]:
app = create_app(Settings(request_timeout_seconds=1, connect_timeout_seconds=1))
with TestClient(app) as test_client:
yield test_client
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 268ms Template: 13ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API