def test_missing_collection_commit_log_entry_model_failure(self):
    collection_services.update_collection(self.owner_id, '0', [{'cmd': 'edit_collection_property', 'property_name': 'title', 'new_value': 'New title'}], 'Changes.')
    collection_models.CollectionCommitLogEntryModel.get_by_id('collection-0-1').delete()
    expected_output = [u'[u\'failed validation check for collection_commit_log_entry_ids field check of CollectionModel\', [u"Entity id 0: based on field collection_commit_log_entry_ids having value collection-0-1, expect model CollectionCommitLogEntryModel with id collection-0-1 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_commit_log_entry_model_failure(self):
    collection_services.update_collection(self.owner_id, '0', [{'cmd': 'edit_collection_property', 'property_name': 'title', 'new_value': 'New title'}], 'Changes.')
    collection_models.CollectionCommitLogEntryModel.get_by_id('collection-0-1').delete()
    expected_output = [u'[u\'failed validation check for collection_commit_log_entry_ids field check of CollectionModel\', [u"Entity id 0: based on field collection_commit_log_entry_ids having value collection-0-1, expect model CollectionCommitLogEntryModel with id collection-0-1 but it doesn\'t exist"]]', u"[u'fully-validated CollectionModel', 2]"]
    run_job_and_check_output(self, expected_output, sort=True)