From 07576072172e83f2634e52ec81aa65d07ae4604b Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sun, 13 Sep 2009 04:32:55 +0000 Subject: [PATCH] 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 --- .../admin_views/fixtures/admin-views-person.xml | 2 +- tests/regressiontests/admin_views/tests.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/regressiontests/admin_views/fixtures/admin-views-person.xml b/tests/regressiontests/admin_views/fixtures/admin-views-person.xml index 77928a834b..ff00fd2169 100644 --- a/tests/regressiontests/admin_views/fixtures/admin-views-person.xml +++ b/tests/regressiontests/admin_views/fixtures/admin-views-person.xml @@ -6,7 +6,7 @@ True - Grace Hooper + Grace Hopper 1 False diff --git a/tests/regressiontests/admin_views/tests.py b/tests/regressiontests/admin_views/tests.py index 669755051e..7273d3f320 100644 --- a/tests/regressiontests/admin_views/tests.py +++ b/tests/regressiontests/admin_views/tests.py @@ -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) -