- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for test_model_with_tuple_valid (0.12 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_tuples.py
return values client = TestClient(app) def test_model_with_tuple_valid(): data = {"items": [["foo", "bar"], ["baz", "whatelse"]]} response = client.post("/model-with-tuple/", json=data) assert response.status_code == 200, response.text assert response.json() == data def test_model_with_tuple_invalid(): data = {"items": [["foo", "bar"], ["baz", "whatelse", "too", "much"]]}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 10.8K bytes - Click Count (0)