#NEWLINE# def test_inbox_list( self ) : #NEWLINE# #INDENT# message = self . backend . create_message ( STORED_ERROR , 'Another message for you' ) #NEWLINE# self . backend . inbox_store ( [ self . user ] , message ) #NEWLINE# self . backend . inbox_store ( [ self . user ] , self . message ) #NEWLINE# messages = self . backend . inbox_list ( self . user ) #NEWLINE# self . assertEqual ( self [ 0 ] , message ) #NEWLINE# self . assertEqual ( messages [ 1 ] , self . message ) #NEWLINE# self . assertEqual ( self . backend . inbox_list ( self . anon ) , [ ] )