Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_query_int_default_query_foo (0.13 sec)

  1. tests/test_query.py

    
    def test_query_int_default_query_50():
        response = client.get("/query/int/default?query=50")
        assert response.status_code == 200
        assert response.json() == "foo bar 50"
    
    
    def test_query_int_default_query_foo():
        response = client.get("/query/int/default?query=foo")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top