#NEWLINE# @ patch ( 'pyon.ion.endpoint.ProcessRPCClient.create_endpoint' ) #NEWLINE# def test_create_endpoint( self , mockce ) : #NEWLINE# #INDENT# prpc = ConversationRPCClient ( process = sentinel . process ) #NEWLINE# prpc . create_endpoint ( to_name = sentinel . to_name ) #NEWLINE# mockce . assert_called_once_with ( prpc , sentinel . to_name , None )