def test_model_with_invalid_id(self):
    model_with_invalid_id = recommendations_models.TopicSimilaritiesModel(id='invalid', content=self.content)
    model_with_invalid_id.put()
    expected_output = [u"[u'failed validation check for model id check of TopicSimilaritiesModel', [u'Entity id invalid: Entity id does not match regex pattern']]", u"[u'fully-validated TopicSimilaritiesModel', 1]"]
    run_job_and_check_output(self, expected_output, sort=True)
def test_model_with_invalid_id(self):
    model_with_invalid_id = recommendations_models.TopicSimilaritiesModel(id='invalid', content=self.content)
    model_with_invalid_id.put()
    expected_output = [u"[u'failed validation check for model id check of TopicSimilaritiesModel', [u'Entity id invalid: Entity id does not match regex pattern']]", u"[u'fully-validated TopicSimilaritiesModel', 1]"]
    run_job_and_check_output(self, expected_output, sort=True)