From 895a898c0e80438154e084b59cdec44f0206558c Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Tue, 8 Jul 2014 10:21:53 +0100 Subject: [PATCH] privilaged => privileged --- wagtail/wagtailadmin/tests/test_account_management.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wagtail/wagtailadmin/tests/test_account_management.py b/wagtail/wagtailadmin/tests/test_account_management.py index f992138599..048ef6fbc1 100644 --- a/wagtail/wagtailadmin/tests/test_account_management.py +++ b/wagtail/wagtailadmin/tests/test_account_management.py @@ -62,16 +62,16 @@ class TestAuthentication(TestCase, WagtailTestUtils): # Check that the user was redirected to the dashboard self.assertRedirects(response, reverse('wagtailadmin_home')) - def test_logged_in_as_non_privilaged_user_doesnt_redirect(self): + def test_logged_in_as_non_privileged_user_doesnt_redirect(self): """ This tests that if the user is logged in but hasn't got permission to access the admin, they are not redirected to the admin This tests issue #431 """ - # Login as unprivilaged user - User.objects.create(username='unprivilaged', password='123') - self.client.login(username='unprivilaged', password='123') + # Login as unprivileged user + User.objects.create(username='unprivileged', password='123') + self.client.login(username='unprivileged', password='123') # Get login page response = self.client.get(reverse('wagtailadmin_login'))