magic-removal: Fixed some incorrect tests in many_to_many

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant 2006-02-04 22:47:05 +00:00
parent fae0dde7bb
commit fa80e9fcb7
1 changed files with 2 additions and 1 deletions

View File

@ -114,9 +114,10 @@ API_TESTS = """
[Science News]
# Adding via the other end using keywords
>>> a5 = p1.article_set.add(headline='Oxygen-free diet works wonders')
>>> p2.article_set.add(headline='Oxygen-free diet works wonders')
>>> p2.article_set.all().order_by('headline')
[NASA finds intelligent life on Earth, Oxygen-free diet works wonders]
>>> a5 = p2.article_set.all().order_by('headline')[1]
>>> a5.publications.all()
[Science News]