Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_sub_counter_no_cache (0.21 sec)

  1. 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 Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Aug 23 13:30:24 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top