#NEWLINE# def test_auth_then_delayed_capture( self ) : #NEWLINE# #INDENT# params = { #NEWLINE# #INDENT# 'first_name' : 'Barry' , #NEWLINE# 'last_name' : 'Chuckle' , #NEWLINE# 'street' : '1 Road' , #NEWLINE# 'city' : 'Liverpool' , #NEWLINE# 'zip' : 'L1 9ET' , #NEWLINE# #UNINDENT# } #NEWLINE# auth_txn = gateway . authorize ( '1234' , '4111111111111111' , '123' , '1219' , D ( '12.99' ) , ** params ) #NEWLINE# capture_txn = gateway . delayed_capture ( '1234' , auth_txn . pnref ) #NEWLINE# self . assertTrue ( capture_txn . is_approved )