- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for get_empty (0.04 seconds)
-
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")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Jun 11 22:37:34 GMT 2023 - 805 bytes - Click Count (1)