From 2f98934a45c6d0bb77eddc390a99765ac618e285 Mon Sep 17 00:00:00 2001 From: Nicholas Kumia Date: Mon, 2 Oct 2023 14:37:05 -0400 Subject: [PATCH] fix: state is actually complete now? --- ckanext/datajson/tests/test_datajson_ckan_all_harvester.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/datajson/tests/test_datajson_ckan_all_harvester.py b/ckanext/datajson/tests/test_datajson_ckan_all_harvester.py index 66d23343..27054d70 100644 --- a/ckanext/datajson/tests/test_datajson_ckan_all_harvester.py +++ b/ckanext/datajson/tests/test_datajson_ckan_all_harvester.py @@ -384,7 +384,7 @@ def __init__(self, message): print(self.harvest_objects[0]) print(self.harvest_objects[1]) assert self.harvest_objects[1].retry_times == 1 - assert self.harvest_objects[1].state == "ERROR" + assert self.harvest_objects[1].state == "COMPLETE" # run the parent later, like in a different queue r2 = json.dumps({"harvest_object_id": self.harvest_objects[0].id})