Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_post_invalid_list_item (0.07 seconds)

  1. tests/test_tutorial/test_body_nested_models/test_tutorial008.py

        ]
        response = client.post("/images/multiple", json=data)
        assert response.status_code == 200, response.text
        assert response.json() == data
    
    
    def test_post_invalid_list_item(client: TestClient):
        data = [{"url": "not a valid url", "name": "Example"}]
        response = client.post("/images/multiple", json=data)
        assert response.status_code == 422, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top