Author: ikelly Date: 2009-03-11 16:14:18 -0500 (Wed, 11 Mar 2009) New Revision: 10032
Modified: django/trunk/django/db/backends/oracle/creation.py Log: Fixed some breakages in the Oracle test database handling from r10026. Modified: django/trunk/django/db/backends/oracle/creation.py =================================================================== --- django/trunk/django/db/backends/oracle/creation.py 2009-03-11 13:27:03 UTC (rev 10031) +++ django/trunk/django/db/backends/oracle/creation.py 2009-03-11 21:14:18 UTC (rev 10032) @@ -108,8 +108,8 @@ 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 @@ 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, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---