summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/admin_views/models.py2
-rw-r--r--tests/admin_widgets/tests.py2
-rw-r--r--tests/i18n/test_extraction.py2
-rw-r--r--tests/view_tests/tests/test_i18n.py4
4 files changed, 5 insertions, 5 deletions
diff --git a/tests/admin_views/models.py b/tests/admin_views/models.py
index 284a4cfacb..36a8423c41 100644
--- a/tests/admin_views/models.py
+++ b/tests/admin_views/models.py
@@ -759,7 +759,7 @@ class PrePopulatedPostLargeSlug(models.Model):
"""
Regression test for #15938: a large max_length for the slugfield must not
be localized in prepopulated_fields_js.html or it might end up breaking
- the javascript (ie, using THOUSAND_SEPARATOR ends up with maxLength=1,000)
+ the JavaScript (ie, using THOUSAND_SEPARATOR ends up with maxLength=1,000)
"""
title = models.CharField(max_length=100)
published = models.BooleanField(default=False)
diff --git a/tests/admin_widgets/tests.py b/tests/admin_widgets/tests.py
index f701f1abff..1896279ec7 100644
--- a/tests/admin_widgets/tests.py
+++ b/tests/admin_widgets/tests.py
@@ -995,7 +995,7 @@ class DateTimePickerShortcutsSeleniumTests(AdminWidgetSeleniumTestCase):
with self.wait_page_loaded():
self.selenium.find_element_by_name('_save').click()
- # Make sure that "now" in javascript is within 10 seconds
+ # Make sure that "now" in JavaScript is within 10 seconds
# from "now" on the server side.
member = Member.objects.get(name='test')
self.assertGreater(member.birthdate, now - error_margin)
diff --git a/tests/i18n/test_extraction.py b/tests/i18n/test_extraction.py
index ee8257175b..94d92ca93f 100644
--- a/tests/i18n/test_extraction.py
+++ b/tests/i18n/test_extraction.py
@@ -444,7 +444,7 @@ class BasicExtractorTests(ExtractorTests):
self.assertIn('maƱana; charset=CHARSET', pot_contents)
-class JavascriptExtractorTests(ExtractorTests):
+class JavaScriptExtractorTests(ExtractorTests):
PO_FILE = 'locale/%s/LC_MESSAGES/djangojs.po' % LOCALE
diff --git a/tests/view_tests/tests/test_i18n.py b/tests/view_tests/tests/test_i18n.py
index b4c27a296e..9276f61fea 100644
--- a/tests/view_tests/tests/test_i18n.py
+++ b/tests/view_tests/tests/test_i18n.py
@@ -324,7 +324,7 @@ class I18NViewTests(SimpleTestCase):
def test_i18n_language_non_english_default(self):
"""
- Check if the Javascript i18n view returns an empty language catalog
+ Check if the JavaScript i18n view returns an empty language catalog
if the default language is non-English, the selected language
is English and there is not 'en' translation available. See #13388,
#3594 and #13726 for more details.
@@ -337,7 +337,7 @@ class I18NViewTests(SimpleTestCase):
def test_non_english_default_english_userpref(self):
"""
Same as above with the difference that there IS an 'en' translation
- available. The Javascript i18n view must return a NON empty language catalog
+ available. The JavaScript i18n view must return a NON empty language catalog
with the proper English translations. See #13726 for more details.
"""
with self.settings(LANGUAGE_CODE='fr'), override('en-us'):