forked from home-assistant/core
Reset template cache
This commit is contained in:
@@ -476,6 +476,7 @@ def reset_globals() -> Generator[None]:
|
||||
# Reset the template cache
|
||||
template.CACHED_TEMPLATE_LRU.clear()
|
||||
template.CACHED_TEMPLATE_NO_COLLECT_LRU.clear()
|
||||
template._domain_states.cache_clear()
|
||||
|
||||
# Reset patch_json
|
||||
if patch_json.mock_objects:
|
||||
|
Reference in New Issue
Block a user