[IMP] website: add arabic in iap test

This commit adds arabic in the list of iap languages so that we can test
that the industries are correctly translated in arabic.

related to task-3343616

closes odoo/odoo#125005

Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit is contained in:
Guillaume (gdi)
2023-06-15 18:51:27 +02:00
parent a0d0afb205
commit 23fddc4ec5
+1 -1
View File
@@ -18,7 +18,7 @@ class TestIap(odoo.tests.HttpCase):
with iap_tools.enable_iap_test():
english_terms = _get_industries('en')
# Check that every languages are different from english.
for lang in ['de', 'es', 'fr', 'hr', 'hu', 'id', 'it', 'mk', 'nl', 'pt', 'ru', 'zh']:
for lang in ['ar', 'de', 'es', 'fr', 'hr', 'hu', 'id', 'it', 'mk', 'nl', 'pt', 'ru', 'zh']:
translated_terms = _get_industries(lang)
has_diff = False
self.assertEqual(len(english_terms), len(translated_terms), "Different number of industries between 'en' and %s" % lang)