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