#NEWLINE# def test_node_port_list_detail_with_uuid( self ) : #NEWLINE# #INDENT# ports = self . mgr . list_ports ( NODE1 [ 'uuid' ] , detail = True ) #NEWLINE# expect = [ ( 'GET' , ( '/v1/nodes/%s/ports/detail' % NODE1 [ 'uuid' ] ) , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , None ) ] #NEWLINE# self . assertEqual ( expect , self . api . calls ) #NEWLINE# self . assertThat ( ports , HasLength ( 1 ) )