- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for url_path_for (0.06 seconds)
-
tests/test_starlette_urlconvertors.py
assert response.json() == {"int": 5} assert app.url_path_for("int_convertor", param=5) == "/int/5" # type: ignore def test_route_converters_float(): # Test float conversion response = client.get("/float/25.5") assert response.status_code == 200, response.text assert response.json() == {"float": 25.5} assert app.url_path_for("float_convertor", param=25.5) == "/float/25.5" # type: ignore
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Nov 27 14:46:06 GMT 2022 - 1.7K bytes - Click Count (0)