summaryrefslogtreecommitdiff
path: root/tests/i18n/contenttypes/tests.py
diff options
context:
space:
mode:
authorHrushikesh Vaidya <hrushikeshrv@gmail.com>2022-09-13 19:00:57 +0530
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-03-09 10:27:08 +0100
commita52bdea5a27ba44b13eda93642231c65c581e083 (patch)
tree955f1f934ab033d4e59b667b7520ddcdbf4fec66 /tests/i18n/contenttypes/tests.py
parent18473004afd82a616ba6c9ac22f476347fde4846 (diff)
Fixed #33985 -- Used app_config.verbose_name in ContentType.__str__().
Diffstat (limited to 'tests/i18n/contenttypes/tests.py')
-rw-r--r--tests/i18n/contenttypes/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/i18n/contenttypes/tests.py b/tests/i18n/contenttypes/tests.py
index 22bbb5d834..10e6c5ed69 100644
--- a/tests/i18n/contenttypes/tests.py
+++ b/tests/i18n/contenttypes/tests.py
@@ -20,6 +20,6 @@ class ContentTypeTests(TestCase):
def test_verbose_name(self):
company_type = ContentType.objects.get(app_label="i18n", model="company")
with translation.override("en"):
- self.assertEqual(str(company_type), "i18n | Company")
+ self.assertEqual(str(company_type), "I18N | Company")
with translation.override("fr"):
- self.assertEqual(str(company_type), "i18n | Société")
+ self.assertEqual(str(company_type), "I18N | Société")