File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -619,14 +619,20 @@ async def test_list_workflows_and_fetch_history(
619619 assert actual_id_and_input == expected_id_and_input
620620
621621 # Verify listing can limit results
622- limited = [w async for w in client .list_workflows (f"WorkflowId = '{ workflow_id } '" , limit = 3 )]
622+ limited = [
623+ w async for w in client .list_workflows (f"WorkflowId = '{ workflow_id } '" , limit = 3 )
624+ ]
623625 assert len (limited ) == 3
624626 # With a weird page size
625- limited = [w async for w in client .list_workflows (f"WorkflowId = '{ workflow_id } '" , page_size = 2 , limit = 3 )]
627+ limited = [
628+ w
629+ async for w in client .list_workflows (
630+ f"WorkflowId = '{ workflow_id } '" , page_size = 2 , limit = 3
631+ )
632+ ]
626633 assert len (limited ) == 3
627634
628635
629-
630636@workflow .defn
631637class CountableWorkflow :
632638 @workflow .run
You can’t perform that action at this time.
0 commit comments