def test_invalid_config_property_model_version_in_model_id(self):
    model_with_invalid_version_in_id = config_models.ConfigPropertySnapshotMetadataModel(id='config_model-3', committer_id=self.admin_id, commit_type='edit', commit_message='msg', commit_cmds=[{}])
    model_with_invalid_version_in_id.put()
    expected_output = [u"[u'failed validation check for config property model version check of ConfigPropertySnapshotMetadataModel', [u'Entity id config_model-3: ConfigProperty model corresponding to id config_model has a version 1 which is less than the version 3 in snapshot metadata model id']]", u"[u'fully-validated ConfigPropertySnapshotMetadataModel', 2]"]
    run_job_and_check_output(self, expected_output, sort=True)
def test_invalid_config_property_model_version_in_model_id(self):
    model_with_invalid_version_in_id = config_models.ConfigPropertySnapshotMetadataModel(id='config_model-3', committer_id=self.admin_id, commit_type='edit', commit_message='msg', commit_cmds=[{}])
    model_with_invalid_version_in_id.put()
    expected_output = [u"[u'failed validation check for config property model version check of ConfigPropertySnapshotMetadataModel', [u'Entity id config_model-3: ConfigProperty model corresponding to id config_model has a version 1 which is less than the version 3 in snapshot metadata model id']]", u"[u'fully-validated ConfigPropertySnapshotMetadataModel', 2]"]
    run_job_and_check_output(self, expected_output, sort=True)