def test_invalid_collection_version_in_model_id(self):
    model_with_invalid_version_in_id = collection_models.CollectionRightsSnapshotContentModel(id='0-3')
    model_with_invalid_version_in_id.content = {}
    model_with_invalid_version_in_id.put()
    expected_output = [u"[u'failed validation check for collection rights model version check of CollectionRightsSnapshotContentModel', [u'Entity id 0-3: CollectionRights model corresponding to id 0 has a version 1 which is less than the version 3 in snapshot content model id']]", u"[u'fully-validated CollectionRightsSnapshotContentModel', 3]"]
    run_job_and_check_output(self, expected_output, sort=True)
def test_invalid_collection_version_in_model_id(self):
    model_with_invalid_version_in_id = collection_models.CollectionRightsSnapshotContentModel(id='0-3')
    model_with_invalid_version_in_id.content = {}
    model_with_invalid_version_in_id.put()
    expected_output = [u"[u'failed validation check for collection rights model version check of CollectionRightsSnapshotContentModel', [u'Entity id 0-3: CollectionRights model corresponding to id 0 has a version 1 which is less than the version 3 in snapshot content model id']]", u"[u'fully-validated CollectionRightsSnapshotContentModel', 3]"]
    run_job_and_check_output(self, expected_output, sort=True)