tests: reset config changes in test_deny_nodes when finished testing

This commit is contained in:
psychedelicious 2024-10-31 14:12:04 +10:00
parent 4e7d63761a
commit 6f0f53849b

View File

@ -293,3 +293,7 @@ def test_deny_nodes(patch_rootdir):
assert has_integer
assert has_string
assert not has_float
# Reset the config so that it doesn't affect other tests
get_config.cache_clear()
BaseInvocation.invalidate_typeadapter()