- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Predendapp (0.06 sec)
-
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.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Aug 09 10:54:05 UTC 2020 - 718 bytes - Viewed (0)