#NEWLINE# def test_ensure_task_flow_detail( self ) : #NEWLINE# #INDENT# ( _lb , flow_detail ) = p_utils . temporary_flow_detail ( self . backend ) #NEWLINE# s = self . _get_storage ( flow_detail ) #NEWLINE# t = test_utils . NoopTask ( 'my task' ) #NEWLINE# t . version = ( 3 , 11 ) #NEWLINE# s . ensure_atom ( t ) #NEWLINE# td = flow_detail . find ( s . get_atom_uuid ( 'my task' ) ) #NEWLINE# self . assertIsNotNone ( td ) #NEWLINE# self . assertEqual ( 'my task' , td . name ) #NEWLINE# self . assertEqual ( '3.11' , td . version ) #NEWLINE# self . assertEqual ( states . PENDING , td . state )