From 55c0b35acf6aad2c5287d196bed6eadb0cc50486 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Fri, 17 Aug 2007 14:02:40 +0000 Subject: [PATCH] Minor fix to get the fixure model test to pass in the new management framework. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5915 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/modeltests/fixtures/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/modeltests/fixtures/models.py b/tests/modeltests/fixtures/models.py index 5971755834..b59c388bbd 100644 --- a/tests/modeltests/fixtures/models.py +++ b/tests/modeltests/fixtures/models.py @@ -73,7 +73,7 @@ Multiple fixtures named 'fixture2' in '...fixtures'. Aborting. [, , ] # Dump the current contents of the database as a JSON fixture ->>> print management.call_command('dumpdata', 'fixtures', format='json') +>>> management.call_command('dumpdata', 'fixtures', format='json') [{"pk": "3", "model": "fixtures.article", "fields": {"headline": "Time to reform copyright", "pub_date": "2006-06-16 13:00:00"}}, {"pk": "2", "model": "fixtures.article", "fields": {"headline": "Poker has no place on ESPN", "pub_date": "2006-06-16 12:00:00"}}, {"pk": "1", "model": "fixtures.article", "fields": {"headline": "Python program becomes self aware", "pub_date": "2006-06-16 11:00:00"}}] """}