magic-removal: Fixed bug in m2m_multiple model unit tests. Down to 10 unit-test failures total
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
cbc144b375
commit
3c73a0e8d6
|
@ -44,13 +44,11 @@ API_TESTS = """
|
|||
>>> a1.save()
|
||||
>>> a1.primary_categories.add(c2, c3)
|
||||
>>> a1.secondary_categories.add(c4)
|
||||
True
|
||||
|
||||
>>> a2 = Article(headline='Area man runs', pub_date=datetime(2005, 11, 28))
|
||||
>>> a2.save()
|
||||
>>> a2.primary_categories.add(c1, c2)
|
||||
>>> a2.secondary_categories.add(c4)
|
||||
True
|
||||
|
||||
>>> a1.primary_categories.all()
|
||||
[Crime, News]
|
||||
|
|
Loading…
Reference in New Issue