diff --git a/tests/tasks/test_task.py b/tests/tasks/test_task.py index 642cdef..784fcf1 100644 --- a/tests/tasks/test_task.py +++ b/tests/tasks/test_task.py @@ -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