#NEWLINE# def test_list_accounts( self ) : #NEWLINE# #INDENT# result = self . run_command ( [ 'cdn' , 'list' ] ) #NEWLINE# self . assertEqual ( result . exit_code , 0 ) #NEWLINE# self . assertEqual ( json . loads ( self . output ) , [ { #NEWLINE# #INDENT# 'notes' : None , #NEWLINE# 'created' : '2012-06-25T14:05:28-07:00' , #NEWLINE# 'type' : 'ORIGIN_PULL' , #NEWLINE# 'id' : 1234 , #NEWLINE# 'account_name' : '1234a' , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'notes' : None , #NEWLINE# 'created' : '2012-07-24T13:34:25-07:00' , #NEWLINE# 'type' : 'POP_PULL' , #NEWLINE# 'id' : 1234 , #NEWLINE# 'account_name' : '1234a' , #NEWLINE# #UNINDENT# } ] )