def test_missing_collection_model_failure(self):
    collection_model = collection_models.CollectionModel.get_by_id('0')
    collection_model.delete(feconf.SYSTEM_COMMITTER_ID, '', [])
    self.model_instance_0.collection_model_last_updated = collection_model.last_updated
    self.model_instance_0.put()
    expected_output = [u'[u\'failed validation check for collection_ids field check of CollectionSummaryModel\', [u"Entity id 0: based on field collection_ids having value 0, expect model CollectionModel with id 0 but it doesn\'t exist"]]', u"[u'fully-validated CollectionSummaryModel', 2]"]
    run_job_and_check_output(self, expected_output, sort=True)
def test_missing_collection_model_failure(self):
    collection_model = collection_models.CollectionModel.get_by_id('0')
    collection_model.delete(feconf.SYSTEM_COMMITTER_ID, , [])
    self.model_instance_0.collection_model_last_updated = collection_model.last_updated
    self.model_instance_0.put()
    expected_output = [u'[u\'failed validation check for collection_ids field check of CollectionSummaryModel\', [u"Entity id 0: based on field collection_ids having value 0, expect model CollectionModel with id 0 but it doesn\'t exist"]]', u"[u'fully-validated CollectionSummaryModel', 2]"]
    run_job_and_check_output(self, expected_output, sort=True)