def test_multiple_authors(self):
        first_author, second_author = UserFactory.create_batch(2)
        self.changeset.commit_authors_per_locale = {
            self.translated_locale.code: [first_author, first_author, second_author]
        }
        self.db_project.repository_for_path = Mock(return_value=self.repository)

        commit_changes(self.db_project, self.vcs_project,
                       self.changeset, self.translated_locale)
        self.repository.commit.assert_called_with(
            CONTAINS(first_author.display_name_and_email, second_author.display_name_and_email),
            first_author,
            os.path.join(FAKE_CHECKOUT_PATH, self.translated_locale.code)
        )
Tests if multiple authors are passed to commit message. The
dataset/ETHPy150Open mozilla/pontoon/pontoon/sync/tests/test_core.py/CommitChangesTests.test_multiple_authors