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