Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_query_int (0.07 sec)

  1. tests/test_query.py

    
    def test_query_optional_not_declared_baz():
        response = client.get("/query/optional?not_declared=baz")
        assert response.status_code == 200
        assert response.json() == "foo bar"
    
    
    def test_query_int():
        response = client.get("/query/int")
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top