def test_invalid_file_metadata_version_in_model_id(self):
    model_with_invalid_version_in_id = file_models.FileMetadataSnapshotMetadataModel(id=('%s-3' % self.id_0), committer_id=self.owner_id, commit_type='edit', commit_message='msg', commit_cmds=[{}])
    model_with_invalid_version_in_id.put()
    expected_output = [(u"[u'failed validation check for file metadata model version check of FileMetadataSnapshotMetadataModel', [u'Entity id %s-3: FileMetadata model corresponding to id %s has a version 1 which is less than the version 3 in snapshot metadata model id']]" % (self.id_0, self.id_0)), u"[u'fully-validated FileMetadataSnapshotMetadataModel', 2]"]
    run_job_and_check_output(self, expected_output, sort=True)
def test_invalid_file_metadata_version_in_model_id(self):
    model_with_invalid_version_in_id = file_models.FileMetadataSnapshotMetadataModel(id=('%s-3' % self.id_0), committer_id=self.owner_id, commit_type='edit', commit_message='msg', commit_cmds=[{}])
    model_with_invalid_version_in_id.put()
    expected_output = [(u"[u'failed validation check for file metadata model version check of FileMetadataSnapshotMetadataModel', [u'Entity id %s-3: FileMetadata model corresponding to id %s has a version 1 which is less than the version 3 in snapshot metadata model id']]" % (self.id_0, self.id_0)), u"[u'fully-validated FileMetadataSnapshotMetadataModel', 2]"]
    run_job_and_check_output(self, expected_output, sort=True)