MCPcopy
hub / github.com/django/django / _get_test_db_name

Method _get_test_db_name

django/db/backends/oracle/creation.py:455–461  ·  view source on GitHub ↗

Return the 'production' DB name to get the test DB creation machinery to work. This isn't a great deal in this case because DB names as handled by Django don't have real counterparts in Oracle.

(self)

Source from the content-addressed store, hash-verified

453 return self._test_settings_get("ORACLE_MANAGED_FILES", default=False)
454
455 def _get_test_db_name(self):
456 """
457 Return the 'production' DB name to get the test DB creation machinery
458 to work. This isn't a great deal in this case because DB names as
459 handled by Django don't have real counterparts in Oracle.
460 """
461 return self.connection.settings_dict["NAME"]
462
463 def test_db_signature(self):
464 settings_dict = self.connection.settings_dict

Callers 1

Calls

no outgoing calls

Tested by 1