Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_query_model_with_alias_by_name (0.62 sec)

  1. tests/test_request_param_model_by_alias.py

        client.cookies.set("param_alias", "value")
        response = client.get("/cookie")
        assert response.status_code == 200, response.text
        assert response.json() == {"param": "value"}
    
    
    def test_query_model_with_alias_by_name():
        client = TestClient(app)
        response = client.get("/query", params={"param": "value"})
        assert response.status_code == 422, response.text
        details = response.json()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top