- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for test_get_portal (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_tutorial/test_response_model/test_tutorial003_02.py
from fastapi.testclient import TestClient from docs_src.response_model.tutorial003_02_py39 import app client = TestClient(app) def test_get_portal(): response = client.get("/portal") assert response.status_code == 200, response.text assert response.json() == {"message": "Here's your interdimensional portal."} def test_get_redirect(): response = client.get("/portal", params={"teleport": True}, follow_redirects=False)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.4K bytes - Click Count (0)