def test_invalid_story_version_in_model_id(self):
    model_with_invalid_version_in_id = story_models.StoryCommitLogEntryModel.create('0', 3, self.owner_id, self.OWNER_USERNAME, 'edit', 'msg', [{}], constants.ACTIVITY_STATUS_PUBLIC, False)
    model_with_invalid_version_in_id.story_id = '0'
    model_with_invalid_version_in_id.put()
    expected_output = [(u"[u'failed validation check for story model version check of StoryCommitLogEntryModel', [u'Entity id %s: Story model corresponding to id 0 has a version 1 which is less than the version 3 in commit log entry model id']]" % model_with_invalid_version_in_id.id), u"[u'fully-validated StoryCommitLogEntryModel', 3]"]
    run_job_and_check_output(self, expected_output, sort=True)
def test_invalid_story_version_in_model_id(self):
    model_with_invalid_version_in_id = story_models.StoryCommitLogEntryModel.create('0', 3, self.owner_id, self.OWNER_USERNAME, 'edit', 'msg', [{}], constants.ACTIVITY_STATUS_PUBLIC, False)
    model_with_invalid_version_in_id.story_id = '0'
    model_with_invalid_version_in_id.put()
    expected_output = [(u"[u'failed validation check for story model version check of StoryCommitLogEntryModel', [u'Entity id %s: Story model corresponding to id 0 has a version 1 which is less than the version 3 in commit log entry model id']]" % model_with_invalid_version_in_id.id), u"[u'fully-validated StoryCommitLogEntryModel', 3]"]
    run_job_and_check_output(self, expected_output, sort=True)