summaryrefslogtreecommitdiff
path: root/tests/auth_tests
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2016-08-28 19:20:35 -0700
committerGitHub <noreply@github.com>2016-08-28 19:20:35 -0700
commit488b3d2b38f69e668e86b1d40d976a936f48ed0f (patch)
treefbb04eed1003d6e2b3479e1af48ddbbe8577409c /tests/auth_tests
parent5d978c46216df53884fbca590a9abe660a739774 (diff)
Fixed typo in auth management test.
Diffstat (limited to 'tests/auth_tests')
-rw-r--r--tests/auth_tests/test_management.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auth_tests/test_management.py b/tests/auth_tests/test_management.py
index 8eff655c99..5f772122f6 100644
--- a/tests/auth_tests/test_management.py
+++ b/tests/auth_tests/test_management.py
@@ -595,16 +595,16 @@ class CreatePermissionsTests(TestCase):
content_type=permission_content_type,
).count(), 1)
- def test_unvailable_models(self):
+ def test_unavailable_models(self):
"""
#24075 - Permissions shouldn't be created or deleted if the ContentType
or Permission models aren't available.
"""
state = migrations.state.ProjectState()
- # Unvailable contenttypes.ContentType
+ # Unavailable contenttypes.ContentType
with self.assertNumQueries(0):
create_permissions(self.app_config, verbosity=0, apps=state.apps)
- # Unvailable auth.Permission
+ # Unavailable auth.Permission
state = migrations.state.ProjectState(real_apps=['contenttypes'])
with self.assertNumQueries(0):
create_permissions(self.app_config, verbosity=0, apps=state.apps)