#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# test_directory = os . path . dirname ( os . path . realpath ( __file__ ) ) #NEWLINE# settings = { #NEWLINE# #INDENT# 'CONF_DIR' : os . path . join ( settings , 'data' , 'conf-directory' ) , #NEWLINE# #UNINDENT# } #NEWLINE# self . _settings_patch = patch . dict ( 'carbon.conf.settings' , settings ) #NEWLINE# self . _settings_patch . start ( )