Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #17786 -- Exception when running the tests under Oracle, during…

… the destruction of the test database.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 4b641b78fa1e9cf774d1c0339ef07a854c35e011 1 parent abf2d42
Aymeric Augustin authored February 28, 2012

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  django/db/backends/oracle/creation.py
6  django/db/backends/oracle/creation.py
@@ -40,8 +40,12 @@ class DatabaseCreation(BaseDatabaseCreation):
40 40
         'URLField':                     'VARCHAR2(%(max_length)s)',
41 41
     }
42 42
 
  43
+    # This dictionary stores the original values of user and passwd, which are
  44
+    # changed during the tests. It's stored at the class level because the
  45
+    # test database is created and destroyed by different connections (#17786).
  46
+    remember = {}
  47
+
43 48
     def __init__(self, connection):
44  
-        self.remember = {}
45 49
         super(DatabaseCreation, self).__init__(connection)
46 50
 
47 51
     def _create_test_db(self, verbosity=1, autoclobber=False):

0 notes on commit 4b641b7

Please sign in to comment.
Something went wrong with that request. Please try again.