Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_return_exclude_none (0.11 sec)

  1. tests/test_skip_defaults.py

        assert response.json() == {"x": None, "y": "y"}
    
    
    def test_return_exclude_defaults():
        response = client.get("/exclude_defaults")
        assert response.json() == {}
    
    
    def test_return_exclude_none():
        response = client.get("/exclude_none")
        assert response.json() == {"y": "y", "z": "z"}
    
    
    def test_return_exclude_unset_none():
        response = client.get("/exclude_unset_none")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top