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
d282604614341e20af7c32c79f97e119a996965f
crucible-agent-build-fastap…/tests/conftest.py
demo-bot d9ea87282d
Some checks failed
ci / validate (push) Has been cancelled
Details
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:46:51 +00:00

13 lines
243 B
Python
Raw Blame History

from collections.abc import Iterator
import pytest
from fastapi.testclient import TestClient
from app.main import app
@pytest.fixture
def client() -> Iterator[TestClient]:
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: 400ms Template: 19ms
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