Skip to content

Commit 6c2c4d0

Browse files
author
Alan Christie
committed
docs: Doc tweak
1 parent 72a99d8 commit 6c2c4d0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/test_workflow_engine_examples.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def test_workflow_engine_example_nop_fail(basic_engine):
155155
# Assert
156156
wait_for_workflow(da, r_wfid, expect_success=False)
157157
# Additional, detailed checks...
158-
# Check we only haver one step, and it failed
158+
# Check we only have one RunningWorkflowStep, and it failed
159159
response = da.get_running_workflow_steps(running_workflow_id=r_wfid)
160160
assert response["count"] == 1
161161
assert response["running_workflow_steps"][0]["running_workflow_step"]["done"]
@@ -178,10 +178,10 @@ def test_workflow_engine_example_smiles_to_file(basic_engine):
178178
# Assert
179179
wait_for_workflow(da, r_wfid)
180180
# Additional, detailed checks...
181-
# Check we only haver one step, and it failed
181+
# Check we only have one RunningWorkflowStep, and it succeeded
182182
response = da.get_running_workflow_steps(running_workflow_id=r_wfid)
183183
assert response["count"] == 1
184184
assert response["running_workflow_steps"][0]["running_workflow_step"]["done"]
185185
assert response["running_workflow_steps"][0]["running_workflow_step"]["success"]
186-
# This test should generate some files now existing the project directory
186+
# This test should generate a file in the simulated project directory
187187
assert project_file_exists(output_file)

workflow/workflow_engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def _handle_pod_message(self, msg: PodMessage) -> None:
252252
# Something was started (or there was a launch error).
253253
break
254254

255-
# If there's no launch result this must the (successful) end of the workflow.
255+
# If there's no launch result this must be the (successful) end of the workflow.
256256
# If there is a launch result it was either successful
257257
# (and not the end of the workflow) or unsuccessful
258258
# (and the workflow will have been marked as done anyway).

0 commit comments

Comments
 (0)