Skip to content

Commit e152602

Browse files
committed
More precise logging
1 parent 8a6dbb0 commit e152602

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
@@ -5840,7 +5840,7 @@ async def test_workflow_id_conflict(client: Client):
58405840

58415841

58425842
@workflow.defn
5843-
class TestUpdateCompletionIsHonoredWhenAfterWorkflowReturn1:
5843+
class UpdateCompletionIsHonoredWhenAfterWorkflowReturn1Workflow:
58445844
def __init__(self) -> None:
58455845
self.workflow_returned = False
58465846

@@ -5866,13 +5866,13 @@ async def test_update_completion_is_honored_when_after_workflow_return_1(
58665866
update_id = "my-update"
58675867
task_queue = "tq"
58685868
wf_handle = await client.start_workflow(
5869-
TestUpdateCompletionIsHonoredWhenAfterWorkflowReturn1.run,
5869+
UpdateCompletionIsHonoredWhenAfterWorkflowReturn1Workflow.run,
58705870
id=f"wf-{uuid.uuid4()}",
58715871
task_queue=task_queue,
58725872
)
58735873
update_result_task = asyncio.create_task(
58745874
wf_handle.execute_update(
5875-
TestUpdateCompletionIsHonoredWhenAfterWorkflowReturn1.my_update,
5875+
UpdateCompletionIsHonoredWhenAfterWorkflowReturn1Workflow.my_update,
58765876
id=update_id,
58775877
)
58785878
)
@@ -5881,7 +5881,7 @@ async def test_update_completion_is_honored_when_after_workflow_return_1(
58815881
async with Worker(
58825882
client,
58835883
task_queue=task_queue,
5884-
workflows=[TestUpdateCompletionIsHonoredWhenAfterWorkflowReturn1],
5884+
workflows=[UpdateCompletionIsHonoredWhenAfterWorkflowReturn1Workflow],
58855885
):
58865886
assert await wf_handle.result() == "workflow-result"
58875887
assert await update_result_task == "update-result"

0 commit comments

Comments
 (0)