File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5841,7 +5841,7 @@ async def test_workflow_id_conflict(client: Client):
58415841
58425842
58435843@workflow .defn
5844- class TestUpdateCompletionIsHonoredWhenAfterWorkflowReturn1 :
5844+ class UpdateCompletionIsHonoredWhenAfterWorkflowReturn1Workflow :
58455845 def __init__ (self ) -> None :
58465846 self .workflow_returned = False
58475847
@@ -5867,13 +5867,13 @@ async def test_update_completion_is_honored_when_after_workflow_return_1(
58675867 update_id = "my-update"
58685868 task_queue = "tq"
58695869 wf_handle = await client .start_workflow (
5870- TestUpdateCompletionIsHonoredWhenAfterWorkflowReturn1 .run ,
5870+ UpdateCompletionIsHonoredWhenAfterWorkflowReturn1Workflow .run ,
58715871 id = f"wf-{ uuid .uuid4 ()} " ,
58725872 task_queue = task_queue ,
58735873 )
58745874 update_result_task = asyncio .create_task (
58755875 wf_handle .execute_update (
5876- TestUpdateCompletionIsHonoredWhenAfterWorkflowReturn1 .my_update ,
5876+ UpdateCompletionIsHonoredWhenAfterWorkflowReturn1Workflow .my_update ,
58775877 id = update_id ,
58785878 )
58795879 )
@@ -5882,7 +5882,7 @@ async def test_update_completion_is_honored_when_after_workflow_return_1(
58825882 async with Worker (
58835883 client ,
58845884 task_queue = task_queue ,
5885- workflows = [TestUpdateCompletionIsHonoredWhenAfterWorkflowReturn1 ],
5885+ workflows = [UpdateCompletionIsHonoredWhenAfterWorkflowReturn1Workflow ],
58865886 ):
58875887 assert await wf_handle .result () == "workflow-result"
58885888 assert await update_result_task == "update-result"
You can’t perform that action at this time.
0 commit comments