#NEWLINE# def test_CreateDeleteSliver( self ) : #NEWLINE# #INDENT# '\n        Check that we can create then delete a sliver.\n        ' #NEWLINE# ( slice_urn , cred ) = self . test_CreateSliver ( ) #NEWLINE# self . assertTrue ( wrap_xmlrpc_call ( self . am_client . DeleteSliver , [ slice_urn , cred ] , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , test_settings . TIMEOUT ) , 'Failed to delete sliver.' ) #NEWLINE# self . assertEqual ( len ( self . fv_clients [ 0 ] . api . listSlices ( ) ) , 1 , 'Slice not deleted at FlowVisor' )