def test_missing_exploration_commit_log_entry_model_failure(self):
    exp_services.update_exploration(self.owner_id, '0', [exp_domain.ExplorationChange({'cmd': 'edit_exploration_property', 'property_name': 'title', 'new_value': 'New title'})], 'Changes.')
    exp_models.ExplorationCommitLogEntryModel.get_by_id('exploration-0-1').delete()
    expected_output = [u'[u\'failed validation check for exploration_commit_log_entry_ids field check of ExplorationModel\', [u"Entity id 0: based on field exploration_commit_log_entry_ids having value exploration-0-1, expect model ExplorationCommitLogEntryModel with id exploration-0-1 but it doesn\'t exist"]]', u"[u'fully-validated ExplorationModel', 2]"]
    run_job_and_check_output(self, expected_output, sort=True)
def test_missing_exploration_commit_log_entry_model_failure(self):
    exp_services.update_exploration(self.owner_id, '0', [exp_domain.ExplorationChange({'cmd': 'edit_exploration_property', 'property_name': 'title', 'new_value': 'New title'})], 'Changes.')
    exp_models.ExplorationCommitLogEntryModel.get_by_id('exploration-0-1').delete()
    expected_output = [u'[u\'failed validation check for exploration_commit_log_entry_ids field check of ExplorationModel\', [u"Entity id 0: based on field exploration_commit_log_entry_ids having value exploration-0-1, expect model ExplorationCommitLogEntryModel with id exploration-0-1 but it doesn\'t exist"]]', u"[u'fully-validated ExplorationModel', 2]"]
    run_job_and_check_output(self, expected_output, sort=True)