diff options
| author | Greg Chapple <gregchapple1@gmail.com> | 2014-06-05 22:42:08 +0100 |
|---|---|---|
| committer | Greg Chapple <gregchapple1@gmail.com> | 2014-06-05 23:17:27 +0100 |
| commit | 72f055e535fb25f8b18be031f8fe18674c1d7f6a (patch) | |
| tree | 2b8a7a0842d8eecdbf1d8edfe8780cdf0e035481 /tests | |
| parent | 7be646425f62734cbd457b93c2b7cf5aa14f923b (diff) | |
Fixed #20550 -- Added keepdb argument to destroy_test_db
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_runner/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_runner/tests.py b/tests/test_runner/tests.py index 6de53b8283..bb46e53fd3 100644 --- a/tests/test_runner/tests.py +++ b/tests/test_runner/tests.py @@ -309,7 +309,7 @@ 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.destroy_test_db = lambda self, old_database_name, verbosity=1, keepdb=False: destroyed_names.append(old_database_name) DatabaseCreation.create_test_db = lambda self, verbosity=1, autoclobber=False, keepdb=False: self._get_test_db_name() db.connections = db.ConnectionHandler({ |
