- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_no_duplicates_invalid (0.1 sec)
-
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() == IsDict( { "detail": [
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 8.4K bytes - Viewed (0)