#NEWLINE# def test_deleteWithRedirect( self ) : #NEWLINE# #INDENT# def cb( response ) : #NEWLINE# #INDENT# xmppURI = response [ 'uri' ] #NEWLINE# redirectURI = ( 'xmpp:%s?node=test' % component ) #NEWLINE# d = self . client . delete ( xmppURI , redirectURI ) #NEWLINE# return d #NEWLINE# #UNINDENT# d = self . client . create ( ) #NEWLINE# d . addCallback ( cb ) #NEWLINE# return self