- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_dependency_set_status_code (0.1 sec)
-
tests/test_reponse_set_reponse_code_empty.py
async def delete_deployment( id: int, response: Response, ) -> Any: response.status_code = 400 return {"msg": "Status overwritten", "id": id} client = TestClient(app) def test_dependency_set_status_code(): response = client.delete("/1") assert response.status_code == 400 and response.content assert response.json() == {"msg": "Status overwritten", "id": 1} def test_openapi_schema():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.1K bytes - Viewed (0)