MCPcopy
hub / github.com/django/django / teardown_databases

Method teardown_databases

django/test/runner.py:1066–1073  ·  view source on GitHub ↗

Destroy all the non-mirror databases.

(self, old_config, **kwargs)

Source from the content-addressed store, hash-verified

1064 self.log(f"Used shuffle seed: {seed_display}")
1065
1066 def teardown_databases(self, old_config, **kwargs):
1067 """Destroy all the non-mirror databases."""
1068 _teardown_databases(
1069 old_config,
1070 verbosity=self.verbosity,
1071 parallel=self.parallel,
1072 keepdb=self.keepdb,
1073 )
1074
1075 def teardown_test_environment(self, **kwargs):
1076 unittest.removeHandler()

Callers 5

run_testsMethod · 0.95
test_setup_databasesMethod · 0.95
_test_outputMethod · 0.95

Calls

no outgoing calls

Tested by 4

test_setup_databasesMethod · 0.76
_test_outputMethod · 0.76