[FIX] base: adapt forward-ported test to new version

This commit is contained in:
Christophe Simonis
2019-01-14 11:11:22 +01:00
parent 3cbc9dd6c0
commit ea51fe5130
+1 -1
View File
@@ -410,7 +410,7 @@ class TestXMLTranslation(TransactionCase):
""" Check translations after minor change in source terms. """
archf = '<form string="X"><div>%s</div><div>%s</div></form>'
terms_src = ('Subtotal', 'Subtotal:')
terms_en = ('Subtotal', 'Sub total:')
terms_en = ('', 'Sub total:')
view = self.create_view(archf, terms_src, en_US=terms_en)
translations = self.env['ir.translation'].search([