#NEWLINE# def test_vault( self ) : #NEWLINE# #INDENT# result = Customer . create ( ) #NEWLINE# result = PaymentMethod . create ( { #NEWLINE# #INDENT# 'customer_id' : result . customer . id , #NEWLINE# 'payment_method_nonce' : Nonces . Coinbase , #NEWLINE# #UNINDENT# } ) #NEWLINE# account = result . payment_method #NEWLINE# self . _assert_valid_coinbase_account ( account ) #NEWLINE# PaymentMethod . delete ( account . token ) #NEWLINE# self . assertRaises ( braintree . exceptions . NotFoundError , PaymentMethod . find , account . token )