#NEWLINE# def testAuthorizeAndVoid( self ) : #NEWLINE# #INDENT# resp = self . merchant . authorize ( 100 , self . credit_card , options = { #NEWLINE# #INDENT# 'plan_id' : 'purchase' , #NEWLINE# 'description' : 'Authorize' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEquals ( resp [ 'status' ] , 'SUCCESS' ) #NEWLINE# response = self . merchant . void ( resp [ 'response' ] [ 'subscription' ] [ 'id' ] ) #NEWLINE# self . assertEquals ( response [ 'status' ] , 'SUCCESS' )