#NEWLINE# def test_authorize_saved_card_auth( self ) : #NEWLINE# #INDENT# self . client . _customer . auth . return_value = TRANSACTION_RESULT #NEWLINE# saved = AuthorizeSavedCard ( self . client , '1|2' ) #NEWLINE# result = saved . auth ( 10 ) #NEWLINE# self . assertEqual ( self . client . _customer . auth . call_args , ( ( '1' , '2' , 10 , None ) , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) ) #NEWLINE# self . assertTrue ( isinstance ( self , AuthorizeTransaction ) ) #NEWLINE# self . assertEqual ( result . uid , '2171062816' )