Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for remark (0.18 sec)

  1. tests/test_custom_route_class.py

    
    router_b.include_router(router=router_c, prefix="/c")
    router_a.include_router(router=router_b, prefix="/b")
    app.include_router(router=router_a, prefix="/a")
    
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/a", 200, {"msg": "A"}),
            ("/a/b", 200, {"msg": "B"}),
            ("/a/b/c", 200, {"msg": "C"}),
        ],
    )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top