From b78710ec022d5d04b62f69eb086478faeee2ee38 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 8 Jun 2014 20:07:35 -0700 Subject: [PATCH] [1.7.x] Fix broken alias testing test Conflicts: tests/test_runner/tests.py --- tests/test_runner/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_runner/tests.py b/tests/test_runner/tests.py index 99907be12e..7cae4b4d27 100644 --- a/tests/test_runner/tests.py +++ b/tests/test_runner/tests.py @@ -349,8 +349,8 @@ class AliasedDatabaseTeardownTest(unittest.TestCase): old_create_test_db = DatabaseCreation.create_test_db try: destroyed_names = [] - DatabaseCreation.destroy_test_db = lambda self, old_database_name, verbosity=1: destroyed_names.append(old_database_name) - DatabaseCreation.create_test_db = lambda self, verbosity=1, autoclobber=False: self._get_test_db_name() + DatabaseCreation.destroy_test_db = lambda self, old_database_name, verbosity=1, serialize=True: destroyed_names.append(old_database_name) + DatabaseCreation.create_test_db = lambda self, verbosity=1, autoclobber=False, serialize=True: self._get_test_db_name() db.connections = db.ConnectionHandler({ 'default': {