Open
Description
We've been testing our query counts, and found our tests weren't independent due to the caching of ContentTypes causing query counts to depend on test ordering.
There's a handy pytest-django fixture for clearing the Sites cache but not one for ContentTypes.
Is this something that would be accepted as an addition to this library? It would call ContentType.objects.clear_cache()
Metadata
Metadata
Assignees
Labels
No labels