def test_model_with_assymetric_content(self):
    content = {'Art': {'Art': 1.0, 'Biology': 0.5}, 'Biology': {'Art': 0.6, '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.6}, u\'Art\': {u\'Biology\': 0.5, u\'Art\': 1.0}} fails with error: Expected topic similarities to be symmetric."]]']
    run_job_and_check_output(self, expected_output)
def test_model_with_assymetric_content(self):
    content = {'Art': {'Art': 1.0, 'Biology': 0.5}, 'Biology': {'Art': 0.6, '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.6}, u\'Art\': {u\'Biology\': 0.5, u\'Art\': 1.0}} fails with error: Expected topic similarities to be symmetric."]]']
    run_job_and_check_output(self, expected_output)