- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for Predendapp (0.04 seconds)
-
tests/test_swagger_ui_init_oauth.py
from fastapi import FastAPI from fastapi.testclient import TestClient swagger_ui_init_oauth = {"clientId": "the-foo-clients", "appName": "The Predendapp"} app = FastAPI(swagger_ui_init_oauth=swagger_ui_init_oauth) @app.get("/items/") async def read_items(): return {"id": "foo"} client = TestClient(app) def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.textCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 09 10:54:05 GMT 2020 - 718 bytes - Click Count (0)