<s> import os <EOL> import shutil <EOL> DIR = os . path . dirname ( os . path . realpath ( __file__ ) ) <EOL> TEST_DIR = os . path . join ( DIR , "<STR_LIT>" ) <EOL> TEST_DIR_2 = os . path . join ( TEST_DIR , "<STR_LIT>" ) <EOL> TEST_DIR_3 = os . path . join ( TEST_DIR , "<STR_LIT>" ) <EOL> TEST_FILE = os . path . join ( TEST_DIR , "<STR_LIT>" ) <EOL> TEST_FILE_2 = os . path . join ( TEST_DIR , "<STR_LIT>" ) <EOL> def setup_module ( module ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> def teardown_module ( module ) : <EOL> """<STR_LIT>""" <EOL> if ( os . path . exists ( TEST_DIR ) ) : <EOL> shutil . rmtree ( TEST_DIR ) <EOL> def setup_function ( function ) : <EOL> """<STR_LIT>""" <EOL> if ( not os . path . exists ( TEST_DIR ) ) : <EOL> os . makedirs ( TEST_DIR ) <EOL> if ( not os . path . exists ( TEST_DIR_2 ) ) : <EOL> os . makedirs ( TEST_DIR_2 ) <EOL> if ( not os . path . exists ( TEST_DIR_3 ) ) : <EOL> os . makedirs ( TEST_DIR_3 ) <EOL> open ( TEST_FILE , '<STR_LIT>' ) . close ( ) <EOL> open ( TEST_FILE_2 , '<STR_LIT>' ) . close ( ) <EOL> def teardown_function ( function ) : <EOL> """<STR_LIT>""" <EOL> pass </s>
