#NEWLINE# def testPurchase( self ) : #NEWLINE# #INDENT# resp = self . merchant . purchase ( 1 , self . credit_card , options = fake_options ) #NEWLINE# self . assertEquals ( resp [ 'status' ] , 'SUCCESS' ) #NEWLINE# self . assertNotEquals ( self [ 'response' ] . correlationid , '0' ) #NEWLINE# self . assertTrue ( isinstance ( resp [ 'response' ] , PayPalNVP ) )