Projet

Général

Profil

0005-django32-use-public-API-to-clear-caches-67760.patch

Emmanuel Cazenave, 16 janvier 2023 17:38

Télécharger (770 octets)

Voir les différences:

Subject: [PATCH 5/6] django32: use public API to clear caches (#67760)

 tests_multitenant/test_threading.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tests_multitenant/test_threading.py
56 56

  
57 57
def test_cache(tenants, client):
58 58
    # Clear caches
59
    caches._caches.caches = {}
59
    for c in caches.all():
60
        c.clear()
60 61

  
61 62
    cache.set('coin', 1)
62 63

  
63
-