Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
patkivikram committed Oct 4, 2023
1 parent 7ad9a5b commit 5844c11
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/tasks/test_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,15 +327,15 @@ async def test_parallel_composite_task_notify_atleast_one_one_complete(
assert parallel_composite_task_fixture.on_complete.called

@pytest.mark.asyncio
async def test_stop_workflow_already_stopped(
self, template_fixture
):
async def test_stop_workflow_already_stopped(self, template_fixture):
template_fixture.on_complete = CoroutineMock()
template_fixture.status = TaskStatus(
code=TaskStatusEnum.COMPLETED.name, value=TaskStatusEnum.COMPLETED.value
)
await template_fixture.stop(runtime_parameters=template_fixture.runtime_parameters,
workflow_instance=template_fixture)
code=TaskStatusEnum.COMPLETED.name, value=TaskStatusEnum.COMPLETED.value
)
await template_fixture.stop(
runtime_parameters=template_fixture.runtime_parameters,
workflow_instance=template_fixture,
)
template_fixture.on_complete.assert_not_called()

@pytest.mark.asyncio
Expand Down

0 comments on commit 5844c11

Please sign in to comment.