Django

Code

Changeset 2445

Show
Ignore:
Timestamp:
02/28/06 12:10:21 (3 years ago)
Author:
jacob
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/magic-removal/tests/modeltests/manipulators/models.py

    r2195 r2445  
    8787>>> a2.release_date 
    8888datetime.date(2005, 2, 13) 
    89  
    90 # Test follow (inline editing) functionality. 
    91 >>> man = Musician.ChangeManipulator(m1, follow={"album": True}) 
    92 >>> data = man.flatten_data() 
    93 >>> sorted_list = data.items() 
    94 >>> sorted_list.sort(lambda x, y: cmp(x[0], y[0])) 
    95 >>> sorted_list 
    96 [('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')] 
    9789"""