From 671da7036fccda504880ebee12c6e7f6410de21a Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Tue, 31 Jan 2006 23:28:47 +0000 Subject: [PATCH] magic-removal: Fixed some incorrect tests git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2210 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/modeltests/many_to_one/models.py | 2 +- tests/modeltests/many_to_one_null/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/modeltests/many_to_one/models.py b/tests/modeltests/many_to_one/models.py index 4aaf07658c..d7b69592f9 100644 --- a/tests/modeltests/many_to_one/models.py +++ b/tests/modeltests/many_to_one/models.py @@ -63,7 +63,7 @@ John's second story [This is a test, John's second story] >>> r.article_set.filter(headline__startswith='This') -This is a test +[This is a test] >>> r.article_set.count() 2 diff --git a/tests/modeltests/many_to_one_null/models.py b/tests/modeltests/many_to_one_null/models.py index f976e97898..2ea7302fdf 100644 --- a/tests/modeltests/many_to_one_null/models.py +++ b/tests/modeltests/many_to_one_null/models.py @@ -49,7 +49,7 @@ Second >>> r.article_set.order_by('headline') [First, Second] >>> r.article_set.filter(headline__startswith='Fir') -First +[First] >>> r.article_set.count() 2