def test_sort(self): self.edit_unit("Hello, world!\n", "Nazdar svete!\n") self.assertTrue(PropertiesSortAddon.can_install(self.component, None)) PropertiesSortAddon.create(self.component) self.get_translation().commit_pending("test", None) commit = self.component.repository.show(self.component.repository.last_revision) self.assertIn("java/swing_messages_cs.properties", commit)
def test_sort(self): self.edit_unit('Hello, world!\n', 'Nazdar svete!\n') self.assertTrue(PropertiesSortAddon.can_install(self.subproject, None)) PropertiesSortAddon.create(self.subproject) self.get_translation().commit_pending(None) commit = self.subproject.repository.show( self.subproject.repository.last_revision) self.assertIn('java/swing_messages_cs.properties', commit)
def test_sort(self): self.edit_unit('Hello, world!\n', 'Nazdar svete!\n') self.assertTrue(PropertiesSortAddon.can_install(self.component, None)) PropertiesSortAddon.create(self.component) self.get_translation().commit_pending('test', None) commit = self.component.repository.show( self.component.repository.last_revision ) self.assertIn('java/swing_messages_cs.properties', commit)