'Expects output of selection function returns translated labels'

def test_translated(self):

    self.add_translations('export.selection,value', 'selection', 'fr_FR', *self.translations_fr)
    result = self.import_(['value'], [['titi'], ['tete']], context={'lang': 'fr_FR'})
    self.assertFalse(result['messages'])
    self.assertEqual(len(result['ids']), 2)
    self.assertEqual(values(self.read()), ['1', '2'])
    result = self.import_(['value'], [['Wheee']], context={'lang': 'fr_FR'})
    self.assertFalse(result['messages'])
    self.assertEqual(len(result['ids']), 1)
