diff --git a/tests/tests_integration/test_api/test_data_workflows.py b/tests/tests_integration/test_api/test_data_workflows.py index dd49d385e9..51e168c5dd 100644 --- a/tests/tests_integration/test_api/test_data_workflows.py +++ b/tests/tests_integration/test_api/test_data_workflows.py @@ -375,10 +375,10 @@ def test_list_workflow_executions_by_status( # the new execution should not be completed yet, but running listed_completed = cognite_client.workflows.executions.list( - workflow_version_ids=add_multiply_workflow.as_id(), status=["completed"], limit=3 + workflow_version_ids=add_multiply_workflow.as_id(), statuses=["completed"], limit=3 ) listed_running = cognite_client.workflows.executions.list( - workflow_version_ids=add_multiply_workflow.as_id(), status=["running"], limit=3 + workflow_version_ids=add_multiply_workflow.as_id(), statuses=["running"], limit=3 ) assert filter(lambda x: x.id == result.id, listed_completed) == [] assert len(filter(lambda x: x.id == result.id, listed_running)) == 1