Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Husted (0.19 sec)

  1. tests/test_response_model_include_exclude.py

        }
    
    
    client = TestClient(app)
    
    
    def test_nested_include_simple():
        response = client.get("/simple_include")
    
        assert response.status_code == 200, response.text
    
        assert response.json() == {
            "baz": "simple_include model2 baz",
            "ref": {"foo": "simple_include model foo"},
        }
    
    
    def test_nested_include_simple_dict():
        response = client.get("/simple_include_dict")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jul 19 19:14:58 GMT 2021
    - 4K bytes
    - Viewed (0)
Back to top