mirror of
https://github.com/django/django.git
synced 2025-10-30 09:06:13 +00:00
magic-removal: Updated some of the unit tests to use new syntax. 175 unit-test failures at this point.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -30,13 +30,13 @@ API_TESTS = """
|
||||
Before save
|
||||
After save
|
||||
|
||||
>>> Person.objects.get_list()
|
||||
>>> list(Person.objects)
|
||||
[John Smith]
|
||||
|
||||
>>> p1.delete()
|
||||
Before deletion
|
||||
After deletion
|
||||
|
||||
>>> Person.objects.get_list()
|
||||
>>> list(Person.objects)
|
||||
[]
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user