#NEWLINE# def test_coe_service_delete_by_name( self ) : #NEWLINE# #INDENT# service = self . mgr . delete ( SERVICE1 [ 'name' ] , SERVICE1 [ 'bay_uuid' ] ) #NEWLINE# expect = [ ( 'DELETE' , ( '/v1/services/%s/?bay_ident=%s' % ( SERVICE1 [ 'name' ] , SERVICE1 [ 'bay_uuid' ] ) ) , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , None ) ] #NEWLINE# self . assertEqual ( expect , self . api . calls ) #NEWLINE# self . assertIsNone ( service )