Skip to content

Commit 03e41fe

Browse files
committed
fix: test name and await for result
1 parent 26502e0 commit 03e41fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/hello/hello_update_test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from hello.hello_update import GreetingWorkflow
77

88

9-
async def test_signal_workflow(client: Client):
9+
async def test_update_workflow(client: Client):
1010
task_queue_name = str(uuid.uuid4())
1111
async with Worker(client, task_queue=task_queue_name, workflows=[GreetingWorkflow]):
1212
handle = await client.start_workflow(
@@ -19,4 +19,5 @@ async def test_signal_workflow(client: Client):
1919
GreetingWorkflow.update_workflow_status
2020
)
2121
assert "Workflow status updated" == update_result
22+
assert "Hello, World!" == (await handle.result())
2223
assert WorkflowExecutionStatus.COMPLETED == (await handle.describe()).status

0 commit comments

Comments
 (0)