Skip to content

Commit

Permalink
Add missing awaits
Browse files Browse the repository at this point in the history
  • Loading branch information
amh4r committed Mar 5, 2025
1 parent 0a87273 commit a9b1fca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_inngest_encryption/cases/step_and_fn_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ async def run_test(self: base.TestClass) -> None:
print("running step and fn output test")
self.client.send_sync(inngest.Event(name=event_name))

run_id = state.wait_for_run_id()
run = test_core.helper.client.wait_for_run_status(
run_id = await state.wait_for_run_id()
run = await test_core.helper.client.wait_for_run_status(
run_id,
test_core.helper.RunStatus.COMPLETED,
)

# Ensure that step_1 output is encrypted and its value is correct
output = json.loads(
test_core.helper.client.get_step_output(
await test_core.helper.client.get_step_output(
run_id=run_id,
step_id="step_1",
)
Expand All @@ -117,7 +117,7 @@ async def run_test(self: base.TestClass) -> None:

# Ensure that step_2 output is encrypted and its value is correct
output = json.loads(
test_core.helper.client.get_step_output(
await test_core.helper.client.get_step_output(
run_id=run_id,
step_id="step_2",
)
Expand Down

0 comments on commit a9b1fca

Please sign in to comment.