Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_nested_include_mixed (0.15 sec)

  1. tests/test_response_model_include_exclude.py

        assert response.json() == {
            "baz": "simple_exclude_dict model2 baz",
            "ref": {"foo": "simple_exclude_dict model foo"},
        }
    
    
    def test_nested_include_mixed():
        response = client.get("/mixed")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "mixed model3 name",
            "ref2": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 19 19:14:58 UTC 2021
    - 4K bytes
    - Viewed (0)
Back to top