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.
This commit is contained in:
parent
61d366c111
commit
27a8383898
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue