Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
VerstraeteBert committed Jun 3, 2024
1 parent 0b6deeb commit 666aa62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tests_integration/test_api/test_data_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 666aa62

Please sign in to comment.