def configure_environment():
 if ('HTTP_ACCEPT_LANGUAGE' not in os.environ):
  os.environ['HTTP_ACCEPT_LANGUAGE'] = DEFAULT_LOCALES
 if ('TOOL_SHED_TEST_FILE_DIR' not in os.environ):
  os.environ['TOOL_SHED_TEST_FILE_DIR'] = TOOL_SHED_TEST_DATA
 os.environ['GALAXY_TEST_ENVIRONMENT_CONFIGURED'] = '1'

def configure_environment ( ) : if ( 'HTTP_ACCEPT_LANGUAGE' not in os . environ ) : os . environ [ 'HTTP_ACCEPT_LANGUAGE' ] = DEFAULT_LOCALES if ( 'TOOL_SHED_TEST_FILE_DIR' not in os . environ ) : os . environ [ 'TOOL_SHED_TEST_FILE_DIR' ] = TOOL_SHED_TEST_DATA os . environ [ 'GALAXY_TEST_ENVIRONMENT_CONFIGURED' ] = '1'
hack up environment for test cases .