diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-04-26 10:18:45 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-04-26 10:18:45 -0700 |
| commit | 2bcb8bfc8de5cd57ebb64b326cd7609aa0d8c1c7 (patch) | |
| tree | 6c0dc4b5f0d4dbcae6c181efc2b346799ac5caf3 /tests/admin_views | |
| parent | 8b5b199e20ad2d8d3e91873ce0cd5d3035e05ece (diff) | |
Fix many many typos in comments throughout the codebase
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 |
