Ticket #20681: 0001-Don-t-try-to-tear-down-aliases-for-test-databases-it.patch

File 0001-Don-t-try-to-tear-down-aliases-for-test-databases-it.patch, 638 bytes (added by Simon Percivall, 11 years ago)
  • django/test/simple.py

    diff --git a/django/test/simple.py b/django/test/simple.py
    index 40e5919..0098c57 100644
    a b class DjangoTestSuiteRunner(object):  
    312312
    313313            for alias in aliases:
    314314                connection = connections[alias]
    315                 old_names.append((connection, db_name, True))
    316315                if test_db_name is None:
     316                    old_names.append((connection, db_name, True))
    317317                    test_db_name = connection.creation.create_test_db(
    318318                            self.verbosity, autoclobber=not self.interactive)
    319319                else:
Back to Top