Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
j-tr committed Nov 13, 2023
1 parent 1cdaf8c commit a90a195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_task_runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ async def test_wait_captures_exceptions_as_crashed_state(
lack of re-raise here than the equality of the exception.
"""

async def fake_orchestrate_task_run():
async def fake_orchestrate_task_run(task_run):
raise exception

task_run = TaskRun(flow_run_id=uuid4(), task_key=uuid4(), dynamic_key="bar")
Expand Down Expand Up @@ -333,7 +333,7 @@ async def test_submit_and_wait(self, task_runner):

task_run = TaskRun(flow_run_id=uuid4(), task_key="foo", dynamic_key="bar")

async def fake_orchestrate_task_run(example_kwarg):
async def fake_orchestrate_task_run(example_kwarg, task_run):
return State(
type=StateType.COMPLETED,
data=example_kwarg,
Expand Down

0 comments on commit a90a195

Please sign in to comment.