def test_missing_entities(self):
        self.changeset.update_vcs_entity = Mock()
        self.changeset.update_db_entity = Mock()

        self.call_update_translations([
            ('one', None, self.main_vcs_entity),
            ('other', self.main_db_entity, None),
            ('both', None, None),
        ])
        assert_false(self.changeset.update_vcs_entity.called)
        assert_false(self.changeset.update_db_entity.called)
If either of the entities is missing, skip it.
dataset/ETHPy150Open mozilla/pontoon/pontoon/sync/tests/test_core.py/UpdateTranslationsTests.test_missing_entities