#NEWLINE# @ mock . patch . object ( action_service , 'is_action_canceled_or_canceling' , mock . MagicMock ( return_value = True ) ) #NEWLINE# def test_determine_status_wf_canceled_exec_running_tasks_running( self ) : #NEWLINE# #INDENT# wf_id = uuid . uuid4 ( ) . hex #NEWLINE# status = self . querier . _determine_execution_status ( self , 'RUNNING' , MOCK_WF_TASKS_RUNNING ) #NEWLINE# self . assertEqual ( action_constants . LIVEACTION_STATUS_RUNNING , status )