diff options
| author | Jason Pellerin <jpellerin@gmail.com> | 2006-07-07 21:31:16 +0000 |
|---|---|---|
| committer | Jason Pellerin <jpellerin@gmail.com> | 2006-07-07 21:31:16 +0000 |
| commit | 60947322a582e4bc3f07622024ef7e2d470b0d68 (patch) | |
| tree | b672228ccfd33fd10bf6ad1068df6102ce3fa22a /tests/modeltests/multiple_databases/models.py | |
| parent | c1087076b4fb1165a0f8ebda73ca892cebcf9c26 (diff) | |
[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
Diffstat (limited to 'tests/modeltests/multiple_databases/models.py')
| -rw-r--r-- | tests/modeltests/multiple_databases/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
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() |
