Skip to content

Commit 7ef50d5

Browse files
committed
More precise logging
1 parent d4d44ca commit 7ef50d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/worker/test_workflow.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)