- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_normal_counter (0.07 sec)
-
tests/test_dependency_cache.py
): return { "counter": count, "scope_counter_1": scope_count_1, "scope_counter_2": scope_count_2, } client = TestClient(app) def test_normal_counter(): counter_holder["counter"] = 0 response = client.get("/counter/") assert response.status_code == 200, response.text assert response.json() == {"counter": 1} response = client.get("/counter/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 23 13:30:24 UTC 2022 - 2.7K bytes - Viewed (0)