MCPcopy
hub / github.com/django/django / _destroy_test_db

Method _destroy_test_db

django/db/backends/sqlite3/creation.py:109–112  ·  view source on GitHub ↗
(self, test_database_name, verbosity)

Source from the content-addressed store, hash-verified

107 ondisk_db.close()
108
109 def _destroy_test_db(self, test_database_name, verbosity):
110 if test_database_name and not self.is_in_memory_db(test_database_name):
111 # Remove the SQLite database file
112 os.remove(test_database_name)
113
114 def test_db_signature(self):
115 """

Callers

nothing calls this directly

Calls 2

is_in_memory_dbMethod · 0.95
removeMethod · 0.45

Tested by

no test coverage detected