Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_get_invalid (0.08 seconds)

  1. tests/test_enforce_once_required_parameter.py

    ):
        return {"client_id": client_key, "client_tag": client_tag}
    
    
    client = TestClient(app)
    
    
    def test_get_invalid():
        response = client.get("/foo")
        assert response.status_code == 422
    
    
    def test_get_valid():
        response = client.get("/foo", params={"client_id": "bar"})
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.1K bytes
    - Click Count (0)
Back to Top