MCPcopy
hub / github.com/django/django / setUpClass

Method setUpClass

tests/syndication_tests/tests.py:88–92  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

86
87 @classmethod
88 def setUpClass(cls):
89 super().setUpClass()
90 # This cleanup is necessary because contrib.sites cache
91 # makes tests interfere with each other, see #11505
92 Site.objects.clear_cache()
93
94 def test_rss2_feed(self):
95 """

Callers

nothing calls this directly

Calls 1

clear_cacheMethod · 0.45

Tested by

no test coverage detected