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

Method setUp

tests/cache/tests.py:1265–1269  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1263 available_apps = ["cache"]
1264
1265 def setUp(self):
1266 # The super calls needs to happen first for the settings override.
1267 super().setUp()
1268 self.create_table()
1269 self.addCleanup(self.drop_table)
1270
1271 def create_table(self):
1272 management.call_command("createcachetable", verbosity=0)

Callers 3

setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45

Calls 1

create_tableMethod · 0.95

Tested by

no test coverage detected