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
09e431c0467c71fc68c610f0a4dd5e9ab98fa225
crucible-agent-build-fastap…/tests/conftest.py
demo-bot a41ef98cc4
Some checks failed
ci / test (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:55:01 +00:00

13 lines
236 B
Python
Raw Blame History

import pytest
from fastapi.testclient import TestClient
from app.config import get_settings
from app.main import app
@pytest.fixture
def client():
get_settings.cache_clear()
with TestClient(app) as value:
yield value
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 299ms Template: 14ms
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