#NEWLINE# @ classmethod #NEWLINE# def setUpClass( cls ) : #NEWLINE# #INDENT# cls . srcdb = _connect_clear ( TEST_DBNAME_SRC ) #NEWLINE# cls . db = _connect_clear ( TEST_DBNAME ) #NEWLINE# progdir = os . path . abspath ( os . path . dirname ( __file__ ) ) #NEWLINE# cls . dbtoyaml = os . path . join ( progdir , 'dbtoyaml.py' ) #NEWLINE# cls . yamltodb = os . path . join ( progdir , 'yamltodb.py' ) #NEWLINE# cls . tmpdir = TEST_DIR #NEWLINE# if ( not os . path . exists ( progdir . tmpdir ) ) : #NEWLINE# #INDENT# os . mkdir ( cls . tmpdir )