From eb7ebb777cc0f285a2df8e357c30cd49af446e13 Mon Sep 17 00:00:00 2001 From: Georg Bauer Date: Sun, 9 Oct 2005 10:47:06 +0000 Subject: i18n: merged r787:r814 from trunk git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@815 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/runtests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/runtests.py b/tests/runtests.py index 33ef7e0455..fbe20807ce 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -94,7 +94,7 @@ class TestRunner: # within transactions. cursor = db.cursor() try: - db.connection.autocommit() + db.connection.autocommit(1) except AttributeError: pass self.output(1, "Creating test database") @@ -180,7 +180,7 @@ class TestRunner: cursor = db.cursor() self.output(1, "Deleting test database") try: - db.connection.autocommit() + db.connection.autocommit(1) except AttributeError: pass else: -- cgit v1.3