#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# super ( TestFileStorage , self ) . setUp ( ) #NEWLINE# self . tempdir = tempfile . mkdtemp ( ) #NEWLINE# settings = { #NEWLINE# #INDENT# 'storage.dir' : self . tempdir , #NEWLINE# #UNINDENT# } #NEWLINE# kwargs = FileStorage . configure ( settings ) #NEWLINE# self . request = MagicMock ( ) #NEWLINE# self . storage = FileStorage ( self . request , ** kwargs )