From 27a838389820be74a0d44d3cc2b213657ecc1540 Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Tue, 19 Jan 2021 15:44:11 -0500 Subject: [PATCH] Not sure about this one. We no longer support the task this test is testing (soft_reset). I commented out that part of the test. We can discuss, if necessary. --- tests/test_tasks_api.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_tasks_api.py b/tests/test_tasks_api.py index 8e6d0f7b..6a927e13 100644 --- a/tests/test_tasks_api.py +++ b/tests/test_tasks_api.py @@ -225,12 +225,12 @@ class TestTasksApi(BaseTest): file_path = os.path.join(app.root_path, '..', 'tests', 'data', 'two_forms', 'modified', 'two_forms_struc_mod.bpmn') self.replace_file("two_forms.bpmn", file_path) - # perform a soft reset returns an error - rv = self.app.get('/v1.0/workflow/%i?soft_reset=%s&hard_reset=%s' % - (workflow.id, "true", "false"), - content_type="application/json", - headers=self.logged_in_headers()) - self.assert_failure(rv, error_code="unexpected_workflow_structure") + # # perform a soft reset returns an error + # rv = self.app.get('/v1.0/workflow/%i?soft_reset=%s&hard_reset=%s' % + # (workflow.id, "true", "false"), + # content_type="application/json", + # headers=self.logged_in_headers()) + # self.assert_failure(rv, error_code="unexpected_workflow_structure") # Try again without a soft reset, and we are still ok, and on the original version. workflow_api = self.get_workflow_api(workflow)