def test_no_translation(self):
        self.changeset.update_vcs_entity = Mock()
        self.changeset.update_db_entity = Mock()
        self.main_vcs_entity.has_translation_for = Mock(return_value=False)

        self.call_update_translations([('key', self.main_db_entity, self.main_vcs_entity)])
        assert_false(self.changeset.update_vcs_entity.called)
        assert_false(self.changeset.update_db_entity.called)
If no translation exists for a specific locale, skip it.
dataset/ETHPy150Open mozilla/pontoon/pontoon/sync/tests/test_core.py/UpdateTranslationsTests.test_no_translation