MCPcopy
hub / github.com/django/django / setUp

Method setUp

tests/model_meta/tests.py:265–266  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

263 all_models = (Relation, AbstractPerson, BasePerson, Person, ProxyPerson, Relating)
264
265 def setUp(self):
266 apps.clear_cache()
267
268 def test_clear_cache_clears_relation_tree(self):
269 # The apps.clear_cache is setUp() should have deleted all trees.

Callers

nothing calls this directly

Calls 1

clear_cacheMethod · 0.45

Tested by

no test coverage detected