Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tests/test_invalid_path_param.py

        with pytest.raises(AssertionError):
            app = FastAPI()
    
            @app.get("/items/{id}")
            def read_items(id: list):
                pass  # pragma: no cover
    
    
    def test_invalid_simple_tuple():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            @app.get("/items/{id}")
            def read_items(id: tuple):
                pass  # pragma: no cover
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jun 03 17:59:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
Back to top