Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_level1_default (0.2 sec)

  1. tests/test_include_router_defaults_overrides.py

        assert "x-level2" not in response.headers
        assert "x-level3" not in response.headers
        assert "x-level4" not in response.headers
        assert "x-level5" not in response.headers
    
    
    def test_level1_default():
        response = client.get("/default1?level1=foo")
        assert response.json() == "foo"
        assert response.headers["content-type"] == "application/x-level-0"
        assert "x-level0" in response.headers
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 358.6K bytes
    - Viewed (0)
Back to top