Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed some breakages in the Oracle test database handling from r10026.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 90a3c34b358b58367ed5d2354ba42de9e49daacc 1 parent 638dbc3
Ian Kelly ikelly authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 django/db/backends/oracle/creation.py
8 django/db/backends/oracle/creation.py
View
@@ -108,8 +108,8 @@ def _create_test_db(self, verbosity=1, autoclobber=False):
print "Tests cancelled."
sys.exit(1)
- settings.DATABASE_USER = TEST_DATABASE_USER
- settings.DATABASE_PASSWORD = TEST_DATABASE_PASSWD
+ settings.DATABASE_USER = self.connection.settings_dict["DATABASE_USER"] = TEST_DATABASE_USER
+ settings.DATABASE_PASSWORD = self.connection.settings_dict["DATABASE_PASSWORD"] = TEST_DATABASE_PASSWD
return settings.DATABASE_NAME
@@ -124,8 +124,8 @@ def _destroy_test_db(self, test_database_name, verbosity=1):
TEST_DATABASE_TBLSPACE = self._test_database_tblspace(settings)
TEST_DATABASE_TBLSPACE_TMP = self._test_database_tblspace_tmp(settings)
- settings.DATABASE_USER = self.remember['user']
- settings.DATABASE_PASSWORD = self.remember['passwd']
+ settings.DATABASE_USER = self.connection.settings_dict["DATABASE_USER"] = self.remember['user']
+ settings.DATABASE_PASSWORD = self.connection.settings_dict["DATABASE_PASSWORD"] = self.remember['passwd']
parameters = {
'dbname': TEST_DATABASE_NAME,
Please sign in to comment.
Something went wrong with that request. Please try again.