Fixed #11820 -- Corrected the spelling of Grace Hopper's name in a test. Thanks to shields@msrl.com for the report, and apologies to Admiral Hopper for the error.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7ae2f70722
commit
0757607217
|
@ -6,7 +6,7 @@
|
|||
<field type="BooleanField" name="alive">True</field>
|
||||
</object>
|
||||
<object pk="2" model="admin_views.person">
|
||||
<field type="CharField" name="name">Grace Hooper</field>
|
||||
<field type="CharField" name="name">Grace Hopper</field>
|
||||
<field type="IntegerField" name="gender">1</field>
|
||||
<field type="BooleanField" name="alive">False</field>
|
||||
</object>
|
||||
|
|
|
@ -908,7 +908,7 @@ class AdminViewListEditable(TestCase):
|
|||
self.client.post('/test_admin/admin/admin_views/person/', data)
|
||||
|
||||
self.failUnlessEqual(Person.objects.get(name="John Mauchly").alive, False)
|
||||
self.failUnlessEqual(Person.objects.get(name="Grace Hooper").gender, 2)
|
||||
self.failUnlessEqual(Person.objects.get(name="Grace Hopper").gender, 2)
|
||||
|
||||
# test a filtered page
|
||||
data = {
|
||||
|
@ -1616,4 +1616,3 @@ class NeverCacheTests(TestCase):
|
|||
"Check the never-cache status of the Javascript i18n view"
|
||||
response = self.client.get('/test_admin/jsi18n/')
|
||||
self.failUnlessEqual(get_max_age(response), None)
|
||||
|
||||
|
|
Loading…
Reference in New Issue