def test_model_with_invalid_similarity_value(self):
    content = {'Art': {'Art': 10.0, 'Biology': 0.5}, 'Biology': {'Art': 0.5, 'Biology': 1.0}}
    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\'Biology\': {u\'Biology\': 1.0, u\'Art\': 0.5}, u\'Art\': {u\'Biology\': 0.5, u\'Art\': 10.0}} fails with error: Expected similarity to be between 0.0 and 1.0, received 10.0"]]']
    run_job_and_check_output(self, expected_output)
def test_model_with_invalid_similarity_value(self):
    content = {'Art': {'Art': 10.0, 'Biology': 0.5}, 'Biology': {'Art': 0.5, 'Biology': 1.0}}
    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\'Biology\': {u\'Biology\': 1.0, u\'Art\': 0.5}, u\'Art\': {u\'Biology\': 0.5, u\'Art\': 10.0}} fails with error: Expected similarity to be between 0.0 and 1.0, received 10.0"]]']
    run_job_and_check_output(self, expected_output)