- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for get_empty (0.03 sec)
-
tests/test_empty_router.py
import pytest from fastapi import APIRouter, FastAPI from fastapi.exceptions import FastAPIError from fastapi.testclient import TestClient app = FastAPI() router = APIRouter() @router.get("") def get_empty(): return ["OK"] app.include_router(router, prefix="/prefix") client = TestClient(app) def test_use_empty(): with client: response = client.get("/prefix")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Jun 11 22:37:34 UTC 2023 - 805 bytes - Viewed (1)