Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.1.X] 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.

Merge of r11551 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e5b3ffcd37b5b729ee107a019f807de000c4e172 1 parent db1768b
@freakboy3742 freakboy3742 authored
View
2  tests/regressiontests/admin_views/fixtures/admin-views-person.xml
@@ -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>
View
3  tests/regressiontests/admin_views/tests.py
@@ -908,7 +908,7 @@ def test_post_submission(self):
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 @@ def testJsi18n(self):
"Check the never-cache status of the Javascript i18n view"
response = self.client.get('/test_admin/jsi18n/')
self.failUnlessEqual(get_max_age(response), None)
-
Please sign in to comment.
Something went wrong with that request. Please try again.