- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_url_path_for_path_convertor (0.16 sec)
-
tests/test_starlette_urlconvertors.py
# Test query conversion response = client.get("/query", params={"param": "Qué tal!"}) assert response.status_code == 200, response.text assert response.json() == {"query": "Qué tal!"} def test_url_path_for_path_convertor(): assert ( app.url_path_for("path_convertor", param="some/example") == "/path/some/example"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Nov 27 14:46:06 UTC 2022 - 1.7K bytes - Viewed (0)