#NEWLINE# def tearDown( self ) : #NEWLINE# #INDENT# for directory in [ settings . STATIC_ROOT , settings . MEDIA_ROOT ] : #NEWLINE# #INDENT# for ( root , dirs , files ) in os . walk ( directory , topdown = False ) : #NEWLINE# #INDENT# for name in files : #NEWLINE# #INDENT# os . remove ( os . path . join ( root , name ) ) #NEWLINE# #UNINDENT# for name in dirs : #NEWLINE# #INDENT# os . rmdir ( os . path . join ( root , name ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# super ( FileSystemPluginTests , self ) . tearDown ( )