Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_response_model_no_annotation_return_invalid_model (0.38 sec)

  1. tests/test_response_model_as_return_annotation.py

        with pytest.raises(ResponseValidationError) as excinfo:
            client.get("/response_model-no_annotation-return_invalid_dict")
        assert "missing" in str(excinfo.value)
    
    
    def test_response_model_no_annotation_return_invalid_model():
        with pytest.raises(ResponseValidationError) as excinfo:
            client.get("/response_model-no_annotation-return_invalid_model")
        assert "missing" in str(excinfo.value)
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Aug 14 09:49:57 GMT 2023
    - 47.7K bytes
    - Viewed (0)
Back to top