Skip to content

Commit

Permalink
Autoformatting strikes again!!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushisource committed Dec 5, 2024
1 parent ecf594c commit 47585ec
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,14 +619,20 @@ async def test_list_workflows_and_fetch_history(
assert actual_id_and_input == expected_id_and_input

# Verify listing can limit results
limited = [w async for w in client.list_workflows(f"WorkflowId = '{workflow_id}'", limit=3)]
limited = [
w async for w in client.list_workflows(f"WorkflowId = '{workflow_id}'", limit=3)
]
assert len(limited) == 3
# With a weird page size
limited = [w async for w in client.list_workflows(f"WorkflowId = '{workflow_id}'", page_size=2, limit=3)]
limited = [
w
async for w in client.list_workflows(
f"WorkflowId = '{workflow_id}'", page_size=2, limit=3
)
]
assert len(limited) == 3



@workflow.defn
class CountableWorkflow:
@workflow.run
Expand Down

0 comments on commit 47585ec

Please sign in to comment.