diff options
| author | Tim Graham <timograham@gmail.com> | 2017-02-02 20:43:21 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-02-03 08:01:45 -0500 |
| commit | 29f607927fe82e2c8baab171dfa8baf710cd9b83 (patch) | |
| tree | f525c6c4784ccafe77e01f706093fa6f4a5c9481 /tests/auth_tests/test_context_processors.py | |
| parent | a21ec12409a5b72d602cd03ee925b6ceb1cd5492 (diff) | |
Fixed spelling of "nonexistent".
Diffstat (limited to 'tests/auth_tests/test_context_processors.py')
| -rw-r--r-- | tests/auth_tests/test_context_processors.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auth_tests/test_context_processors.py b/tests/auth_tests/test_context_processors.py index 5b93800386..4c4652cd1b 100644 --- a/tests/auth_tests/test_context_processors.py +++ b/tests/auth_tests/test_context_processors.py @@ -44,9 +44,9 @@ class PermWrapperTests(SimpleTestCase): perms = PermWrapper(MockUser()) # Works for modules and full permissions. self.assertIn('mockapp', perms) - self.assertNotIn('nonexisting', perms) + self.assertNotIn('nonexistent', perms) self.assertIn('mockapp.someperm', perms) - self.assertNotIn('mockapp.nonexisting', perms) + self.assertNotIn('mockapp.nonexistent', perms) def test_permlookupdict_in(self): """ @@ -95,7 +95,7 @@ class AuthContextProcessorTests(TestCase): response = self.client.get('/auth_processor_perms/') self.assertContains(response, "Has auth permissions") self.assertContains(response, "Has auth.add_permission permissions") - self.assertNotContains(response, "nonexisting") + self.assertNotContains(response, "nonexistent") def test_perm_in_perms_attrs(self): u = User.objects.create_user(username='normal', password='secret') @@ -107,7 +107,7 @@ class AuthContextProcessorTests(TestCase): response = self.client.get('/auth_processor_perm_in_perms/') self.assertContains(response, "Has auth permissions") self.assertContains(response, "Has auth.add_permission permissions") - self.assertNotContains(response, "nonexisting") + self.assertNotContains(response, "nonexistent") def test_message_attrs(self): self.client.force_login(self.superuser) |
