Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
Russell Keith-Magee authored September 13, 2009
2  tests/regressiontests/admin_views/fixtures/admin-views-person.xml
@@ -6,7 +6,7 @@
6 6
         <field type="BooleanField" name="alive">True</field>
7 7
     </object>
8 8
     <object pk="2" model="admin_views.person">
9  
-        <field type="CharField" name="name">Grace Hooper</field>
  9
+        <field type="CharField" name="name">Grace Hopper</field>
10 10
         <field type="IntegerField" name="gender">1</field>
11 11
         <field type="BooleanField" name="alive">False</field>
12 12
     </object>
3  tests/regressiontests/admin_views/tests.py
@@ -908,7 +908,7 @@ def test_post_submission(self):
908 908
         self.client.post('/test_admin/admin/admin_views/person/', data)
909 909
 
910 910
         self.failUnlessEqual(Person.objects.get(name="John Mauchly").alive, False)
911  
-        self.failUnlessEqual(Person.objects.get(name="Grace Hooper").gender, 2)
  911
+        self.failUnlessEqual(Person.objects.get(name="Grace Hopper").gender, 2)
912 912
 
913 913
         # test a filtered page
914 914
         data = {
@@ -1616,4 +1616,3 @@ def testJsi18n(self):
1616 1616
         "Check the never-cache status of the Javascript i18n view"
1617 1617
         response = self.client.get('/test_admin/jsi18n/')
1618 1618
         self.failUnlessEqual(get_max_age(response), None)
1619  
-

0 notes on commit e5b3ffc

Please sign in to comment.
Something went wrong with that request. Please try again.