def test_multiple_translations(self):
        first_author, second_author = UserFactory.create_batch(2)

        TranslationFactory.create(locale=self.translated_locale, entity=self.main_db_entity,
            user=first_author, approved=True)
        TranslationFactory.create(locale=self.translated_locale, entity=self.main_db_entity,
            user=second_author, approved=False)

        self.changeset.update_vcs_entity(self.translated_locale, self.main_db_entity, MagicMock())

        self.changeset.execute_update_vcs()

        assert_equal(self.changeset.commit_authors_per_locale[self.translated_locale.code],
            [first_author])
Prints the first and last words of the sentence.
dataset/ETHPy150Open mozilla/pontoon/pontoon/sync/tests/test_changeset.py/AuthorsTests.test_multiple_translations--crossover with--dataset/ETHPy150Open Akagi201/learning-python/lpthw/ex25.py/print_first_and_last