def test_model_with_invalid_topic_similarities_rows(self):
    content = {'Art': {'Art': '1.0', 'Biology': '0.5'}}
    self.model_instance.content = content
    self.model_instance.put()
    expected_output = [u'[u\'failed validation check for topic similarity check of TopicSimilaritiesModel\', [u"Entity id topics: Topic similarity validation for content: {u\'Art\': {u\'Biology\': u\'0.5\', u\'Art\': u\'1.0\'}} fails with error: Length of topic similarities rows: 2 does not match length of topic list: 1."]]']
    run_job_and_check_output(self, expected_output)
def test_model_with_invalid_topic_similarities_rows(self):
    content = {'Art': {'Art': '1.0', 'Biology': '0.5'}}
    self.model_instance.content = content
    self.model_instance.put()
    expected_output = [u'[u\'failed validation check for topic similarity check of TopicSimilaritiesModel\', [u"Entity id topics: Topic similarity validation for content: {u\'Art\': {u\'Biology\': u\'0.5\', u\'Art\': u\'1.0\'}} fails with error: Length of topic similarities rows: 2 does not match length of topic list: 1."]]']
    run_job_and_check_output(self, expected_output)