Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_stream_json_validation_error_async (0.22 seconds)

  1. tests/test_stream_json_validation_error.py

        yield {"name": "invalid", "price": "not-a-number"}
    
    
    client = TestClient(app)
    
    
    def test_stream_json_validation_error_async():
        with pytest.raises(ResponseValidationError):
            client.get("/items/stream-invalid")
    
    
    def test_stream_json_validation_error_sync():
        with pytest.raises(ResponseValidationError):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 991 bytes
    - Click Count (0)
Back to Top