- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_get_enums_invalid (0.27 sec)
-
tests/test_tutorial/test_path_params/test_tutorial005.py
def test_get_enums_resnet(): response = client.get("/models/resnet") assert response.status_code == 200 assert response.json() == {"model_name": "resnet", "message": "Have some residuals"} def test_get_enums_invalid(): response = client.get("/models/foo") assert response.status_code == 422 assert response.json() == IsDict( { "detail": [ { "type": "enum",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 5K bytes - Viewed (0)