summaryrefslogtreecommitdiff
path: root/tests/admin_checks
diff options
context:
space:
mode:
authorVeres Lajos <vlajos@gmail.com>2014-11-03 22:48:03 +0000
committerTim Graham <timograham@gmail.com>2014-11-03 20:59:30 -0500
commita71a2ea756673cd3c7a2c5125fa7e7f334b05475 (patch)
tree61cff2d319c13011d004d0f008fe1957fd773651 /tests/admin_checks
parent7b420367524ad9f29b8bf0284f4b40bd6cfc8b93 (diff)
downloaddjango-a71a2ea756673cd3c7a2c5125fa7e7f334b05475.tar.gz
Fixed typos using https://github.com/vlajos/misspell_fixer
Diffstat (limited to 'tests/admin_checks')
-rw-r--r--tests/admin_checks/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/admin_checks/tests.py b/tests/admin_checks/tests.py
index 81f14afedd..799fc2899a 100644
--- a/tests/admin_checks/tests.py
+++ b/tests/admin_checks/tests.py
@@ -407,7 +407,7 @@ class SystemChecksTestCase(TestCase):
errors = SongAdmin.check(model=Song)
self.assertEqual(errors, [])
- def test_nonexistant_field(self):
+ def test_nonexistent_field(self):
class SongAdmin(admin.ModelAdmin):
readonly_fields = ("title", "nonexistent")
@@ -423,7 +423,7 @@ class SystemChecksTestCase(TestCase):
]
self.assertEqual(errors, expected)
- def test_nonexistant_field_on_inline(self):
+ def test_nonexistent_field_on_inline(self):
class CityInline(admin.TabularInline):
model = City
readonly_fields = ['i_dont_exist'] # Missing attribute