#NEWLINE# def test_create_with_invalid_venmo_sdk_session( self ) : #NEWLINE# #INDENT# customer = Customer . create ( ) . customer #NEWLINE# result = CreditCard . create ( { #NEWLINE# #INDENT# 'customer_id' : customer . id , #NEWLINE# 'number' : '4111111111111111' , #NEWLINE# 'expiration_date' : '05/2014' , #NEWLINE# 'cvv' : '100' , #NEWLINE# 'cardholder_name' : 'John Doe' , #NEWLINE# 'options' : { #NEWLINE# #INDENT# 'venmo_sdk_session' : venmo_sdk . InvalidSession , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertTrue ( result . is_success ) #NEWLINE# self . assertFalse ( result . credit_card . venmo_sdk )