#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# self . bp = get_integration ( 'braintree_payments' ) #NEWLINE# fields = { #NEWLINE# #INDENT# 'transaction' : { #NEWLINE# #INDENT# 'type' : 'sale' , #NEWLINE# 'amount' : '10.00' , #NEWLINE# 'order_id' : 1 , #NEWLINE# 'customer' : { #NEWLINE# #INDENT# 'first_name' : 'John' , #NEWLINE# 'last_name' : 'Doe' , #NEWLINE# 'email' : 'john.doe@example.com' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# self . bp . add_fields ( self )