magic-removal: Fixed some bugs in unit tests

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-12-12 03:01:57 +00:00
parent c60ac8f480
commit 141a5382d8
2 changed files with 5 additions and 5 deletions

View File

@ -67,15 +67,15 @@ True
# If we delete a Publication, its Articles won't be able to access it.
>>> p1.delete()
>>> publications.get_list()
>>> Publication.objects.get_list()
[Science News]
>>> a1 = articles.get_object(pk=1)
>>> a1 = Article.objects.get_object(pk=1)
>>> a1.get_publication_list()
[]
# If we delete an Article, its Publications won't be able to access it.
>>> a2.delete()
>>> articles.get_list()
>>> Article.objects.get_list()
[Django lets you build Web apps easily]
>>> p1.get_article_list(order_by=['headline'])
[Django lets you build Web apps easily]

View File

@ -173,8 +173,8 @@ datetime.date(2005, 8, 22)
>>> ArticleWithChangedMeta.objects.get_list()
[A, B, C]
>>> nomodulenamefirsts.get_list()
>>> NoModuleNameFirst.objects.get_list()
[]
>>> nomodulenameseconds.get_list()
>>> NoModuleNameSecond.objects.get_list()
[]
"""