summaryrefslogtreecommitdiff
path: root/tests/admin_views
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2025-04-15 14:24:12 +0100
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-04-16 10:21:38 +0200
commit6ef0f5bc272b316f0fd6fa706d7eaf8f1822faa4 (patch)
tree499b867d39644712dd26643bbe1fa5a9da518248 /tests/admin_views
parent494d2dc316fc1d849b6a1af97575d293f856a84c (diff)
Americanized some spellings.
Diffstat (limited to 'tests/admin_views')
-rw-r--r--tests/admin_views/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py
index b79b4a94a4..637f258ec0 100644
--- a/tests/admin_views/tests.py
+++ b/tests/admin_views/tests.py
@@ -1940,9 +1940,9 @@ class AdminViewFormUrlTest(TestCase):
reverse("admin:admin_views_restaurant_add", current_app=self.current_app),
{"name": "test_value"},
)
- # this would be the usual behaviour
+ # this would be the usual behavior
self.assertNotContains(response, 'value="test_value"')
- # this is the overridden behaviour
+ # this is the overridden behavior
self.assertContains(response, 'value="overridden_value"')
@@ -8806,7 +8806,7 @@ class GetFormsetsWithInlinesArgumentTest(TestCase):
@override_settings(ROOT_URLCONF="admin_views.urls")
class AdminSiteFinalCatchAllPatternTests(TestCase):
"""
- Verifies the behaviour of the admin catch-all view.
+ Verifies the behavior of the admin catch-all view.
* Anonynous/non-staff users are redirected to login for all URLs, whether
otherwise valid or not.