Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_coerce_exclude_unset (0.18 sec)

  1. tests/test_serialize_response_model.py

    def test_valid_exclude_unset():
        response = client.get("/items/valid-exclude-unset")
        response.raise_for_status()
        assert response.json() == {"aliased_name": "valid", "price": 1.0}
    
    
    def test_coerce_exclude_unset():
        response = client.get("/items/coerce-exclude-unset")
        response.raise_for_status()
        assert response.json() == {"aliased_name": "coerce", "price": 1.0}
    
    
    def test_validlist_exclude_unset():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 4.2K bytes
    - Viewed (0)
Back to top