Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hidden_query (0.17 sec)

  1. tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py39.py

        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_hidden_query(client: TestClient):
        response = client.get("/items?hidden_query=somevalue")
        assert response.status_code == 200, response.text
        assert response.json() == {"hidden_query": "somevalue"}
    
    
    @needs_py310
    def test_no_hidden_query(client: TestClient):
        response = client.get("/items")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top