Skip to content

Commit a14b3a1

Browse files
committed
Reset template cache
1 parent ed56f10 commit a14b3a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ def reset_globals() -> Generator[None]:
473473
# Reset the template cache
474474
template.CACHED_TEMPLATE_LRU.clear()
475475
template.CACHED_TEMPLATE_NO_COLLECT_LRU.clear()
476+
template._domain_states.cache_clear()
476477

477478

478479
@pytest.fixture(autouse=True, scope="session")

0 commit comments

Comments
 (0)