Merge pull request #37997 from AarDG10/fix-test

test: add better test for messages w/ html
This commit is contained in:
Aarol D'Souza 2026-03-13 18:08:12 +05:30 committed by GitHub
commit de6fad6d60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -96,6 +96,7 @@ class TestTranslation(IntegrationTestCase):
"""Test fallback for messages w/ HTML Tags"""
message = "Hide descendant records of <b>For Value</b>."
translated_message = "隐藏下层节点<b>值</b>"
create_translation("zh", message, translated_message)
self.assertEqual(_(message, lang="zh"), translated_message)