- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_sub_counter_no_cache (0.09 sec)
-
tests/test_dependency_cache.py
response = client.get("/sub-counter/") assert response.status_code == 200, response.text assert response.json() == {"counter": 2, "subcounter": 2} def test_sub_counter_no_cache(): counter_holder["counter"] = 0 response = client.get("/sub-counter-no-cache/") assert response.status_code == 200, response.text assert response.json() == {"counter": 2, "subcounter": 1}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 23 13:30:24 UTC 2022 - 2.7K bytes - Viewed (0)