1
0
mirror of https://github.com/django/django.git synced 2025-04-08 23:46:43 +00:00

magic-removal: removed "follow" tests since follow is going away and isn't worth fixing.

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2006-02-28 18:10:21 +00:00
parent a86b6287de
commit 2f27df2784

View File

@ -86,12 +86,4 @@ Ella Fitzgerald
Ultimate Ella
>>> a2.release_date
datetime.date(2005, 2, 13)
# Test follow (inline editing) functionality.
>>> man = Musician.ChangeManipulator(m1, follow={"album": True})
>>> data = man.flatten_data()
>>> sorted_list = data.items()
>>> sorted_list.sort(lambda x, y: cmp(x[0], y[0]))
>>> sorted_list
[('album.0.id', 1), ('album.0.name', 'Ella and Basie'), ('album.0.release_date', ''), ('album.1.id', 2), ('album.1.name', 'Ultimate Ella'), ('album.1.release_date', '2005-02-13'), ('first_name', 'Ella'), ('id', 1L), ('last_name', 'Fitzgerald')]
"""