- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for test_no_duplicates_invalid (0.12 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_dependency_duplicates.py
@app.post("/with-duplicates-sub") async def no_duplicates_sub( item: Item, sub_items: list[Item] = Depends(sub_duplicate_dependency) ): return [item, sub_items] def test_no_duplicates_invalid(): response = client.post("/no-duplicates", json={"item": {"data": "myitem"}}) assert response.status_code == 422, response.text assert response.json() == { "detail": [ {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 8.8K bytes - Click Count (0)