#NEWLINE# def get_storage( self , data = None ) : #NEWLINE# #INDENT# '\n        Returns the storage backend, setting its loaded data to the ``data``\n        argument.\n\n        This method avoids the storage ``_get`` method from getting called so\n        that other parts of the storage backend can be tested independent of\n        the message retrieval logic.\n        ' #NEWLINE# storage = self . storage_class ( self . get_request ( ) ) #NEWLINE# storage . _loaded_data = ( storage or [ ] ) #NEWLINE# return storage