From 60947322a582e4bc3f07622024ef7e2d470b0d68 Mon Sep 17 00:00:00 2001 From: Jason Pellerin Date: Fri, 7 Jul 2006 21:31:16 +0000 Subject: [multi-db] Updated tests to expect pendings in dict format instead of list. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3293 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/modeltests/multiple_databases/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/modeltests/multiple_databases') diff --git a/tests/modeltests/multiple_databases/models.py b/tests/modeltests/multiple_databases/models.py index 9c974ef7bd..b9a1939d41 100644 --- a/tests/modeltests/multiple_databases/models.py +++ b/tests/modeltests/multiple_databases/models.py @@ -131,11 +131,12 @@ False >>> artists[0]._meta.connection.settings == connections['django_test_db_a'].settings True -# When not using transaction management, model save will commit only +# When transactions are not managed, model save will commit only # for the model's connection. >>> from django.db import transaction >>> transaction.enter_transaction_management() +>>> transaction.managed(False) >>> a = Artist(name="Joan Miro", alive=False) >>> w = Widget(code="99rbln", weight=1) >>> a.save() -- cgit v1.3