Merge pull request #37997 from AarDG10/fix-test
test: add better test for messages w/ html
This commit is contained in:
commit
de6fad6d60
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue