Browse files

Minor fix to get the fixure model test to pass in the new management …


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent fc041a3 commit 55c0b35acf6aad2c5287d196bed6eadb0cc50486 @freakboy3742 freakboy3742 committed Aug 17, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/modeltests/fixtures/
@@ -73,7 +73,7 @@ class Meta:
[<Article: Time to reform copyright>, <Article: Poker has no place on ESPN>, <Article: Python program becomes self aware>]
# 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"}}]

0 comments on commit 55c0b35

Please sign in to comment.