Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 41 of 41 for test_0 (4.51 sec)

  1. tests/test_response_model_as_return_annotation.py

    
    client = TestClient(app)
    
    
    def test_no_response_model_no_annotation_return_model():
        response = client.get("/no_response_model-no_annotation-return_model")
        assert response.status_code == 200, response.text
        assert response.json() == {"name": "John", "surname": "Doe"}
    
    
    def test_no_response_model_no_annotation_return_dict():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Aug 14 09:49:57 GMT 2023
    - 47.7K bytes
    - Viewed (0)
Back to top