#NEWLINE# def test_durbin_regulated_card( self ) : #NEWLINE# #INDENT# customer = Customer . create ( ) . customer #NEWLINE# result = CreditCard . create ( { #NEWLINE# #INDENT# 'customer_id' : result . id , #NEWLINE# 'number' : CreditCardNumbers . CardTypeIndicators . DurbinRegulated , #NEWLINE# 'expiration_date' : '05/2014' , #NEWLINE# 'options' : { #NEWLINE# #INDENT# 'verify_card' : True , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# credit_card = result . credit_card #NEWLINE# self . assertEquals ( CreditCard . DurbinRegulated . Yes , credit_card . durbin_regulated )