def test_missing_story_commit_log_entry_model_failure(self):
    story_services.update_story(self.owner_id, '0', [story_domain.StoryChange({'cmd': 'update_story_property', 'property_name': 'title', 'new_value': 'New title', 'old_value': 'title 0'})], 'Changes.')
    story_models.StoryCommitLogEntryModel.get_by_id('story-0-1').delete()
    expected_output = [u'[u\'failed validation check for story_commit_log_entry_ids field check of StoryModel\', [u"Entity id 0: based on field story_commit_log_entry_ids having value story-0-1, expect model StoryCommitLogEntryModel with id story-0-1 but it doesn\'t exist"]]', u"[u'fully-validated StoryModel', 2]"]
    run_job_and_check_output(self, expected_output, sort=True)
def test_missing_story_commit_log_entry_model_failure(self):
    story_services.update_story(self.owner_id, '0', [story_domain.StoryChange({'cmd': 'update_story_property', 'property_name': 'title', 'new_value': 'New title', 'old_value': 'title 0'})], 'Changes.')
    story_models.StoryCommitLogEntryModel.get_by_id('story-0-1').delete()
    expected_output = [u'[u\'failed validation check for story_commit_log_entry_ids field check of StoryModel\', [u"Entity id 0: based on field story_commit_log_entry_ids having value story-0-1, expect model StoryCommitLogEntryModel with id story-0-1 but it doesn\'t exist"]]', u"[u'fully-validated StoryModel', 2]"]
    run_job_and_check_output(self, expected_output, sort=True)