Example #1
0
 def clear_caches(cls, domain):
     from casexml.apps.phone.utils import clear_fixture_cache
     from corehq.apps.programs.fixtures import PROGRAM_FIXTURE_BUCKET
     clear_fixture_cache(domain, PROGRAM_FIXTURE_BUCKET)
Example #2
0
 def clear_caches(cls, domain):
     from casexml.apps.phone.utils import clear_fixture_cache
     from corehq.apps.products.fixtures import ALL_CACHE_PREFIXES
     for prefix in ALL_CACHE_PREFIXES:
         clear_fixture_cache(domain, prefix)