File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 44from contextlib import contextmanager
55from datetime import timedelta
66from enum import Enum
7- from typing import Any , Iterator , NoReturn
7+ from typing import Any , Iterator
88from unittest .mock import patch
99
1010import pytest
@@ -360,17 +360,6 @@ def make_start_op(workflow_id: str):
360360 assert (await start_op_4 .workflow_handle ()).first_execution_run_id is not None
361361
362362
363- @workflow .defn
364- class NeverExecutedWorkflow :
365- @workflow .run
366- async def run (self ) -> NoReturn :
367- raise NotImplementedError ("This is never executed" )
368-
369- @workflow .update
370- async def do_update (self ) -> NoReturn :
371- raise NotImplementedError ("This is never executed" )
372-
373-
374363async def test_update_with_start_failure_start_workflow_error (client : Client ):
375364 """
376365 When the workflow start fails, the update_with_start_call should raise the appropriate
You can’t perform that action at this time.
0 commit comments