- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for overrider_dependency_with_sub (0.15 sec)
-
tests/test_dependency_overrides.py
app.dependency_overrides[common_parameters] = overrider_dependency_with_sub response = client.get("/main-depends/?k=bar") assert response.status_code == 200 assert response.json() == {"in": "main-depends", "params": {"k": "bar"}} app.dependency_overrides = {} def test_override_with_sub_decorator_depends(): app.dependency_overrides[common_parameters] = overrider_dependency_with_sub
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 15.4K bytes - Viewed (0)