diff options
Diffstat (limited to 'tests/admin_views')
| -rw-r--r-- | tests/admin_views/admin.py | 2 | ||||
| -rw-r--r-- | tests/admin_views/tests.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/admin_views/admin.py b/tests/admin_views/admin.py index ba523265c2..a5b3df3b9e 100644 --- a/tests/admin_views/admin.py +++ b/tests/admin_views/admin.py @@ -420,7 +420,7 @@ class PostAdmin(admin.ModelAdmin): if instance.pk: return "%d amount of cool." % instance.pk else: - return "Unkown coolness." + return "Unknown coolness." def value(self, instance): return 1000 diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index 60220bb0f0..384d31c2a3 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -1045,8 +1045,8 @@ class AdminViewPermissionsTest(TestCase): """ Make sure only staff members can log in. - Successful posts to the login page will redirect to the orignal url. - Unsuccessfull attempts will continue to render the login page with + Successful posts to the login page will redirect to the original url. + Unsuccessful attempts will continue to render the login page with a 200 status code. """ login_url = reverse('admin:login') + '?next=/test_admin/admin/' @@ -3649,7 +3649,7 @@ class ReadonlyTest(TestCase): self.assertContains(response, "<label>Awesomeness level:</label>") self.assertContains(response, "Very awesome.") - self.assertContains(response, "Unkown coolness.") + self.assertContains(response, "Unknown coolness.") self.assertContains(response, "foo") # Checks that multiline text in a readonly field gets <br /> tags |
