def test_same(self): machine = WeblateTranslation() unit = Unit.objects.all()[0] results = machine.translate(unit.translation.language.code, unit.get_source_plurals()[0], unit, self.user) self.assertEqual(results, [])
def test_same(self): machine = WeblateTranslation() unit = Unit.objects.all()[0] results = machine.translate( unit.translation.language.code, unit.get_source_plurals()[0], unit, self.user ) self.assertEqual(results, [])