def get_galaxy_test_tmp_dir():
 galaxy_test_tmp_dir = os.environ.get('GALAXY_TEST_TMP_DIR', None)
 if (galaxy_test_tmp_dir is None):
  galaxy_test_tmp_dir = tempfile.mkdtemp()
 return galaxy_test_tmp_dir

def get_galaxy_test_tmp_dir ( ) : galaxy_test_tmp_dir = os . environ . get ( 'GALAXY_TEST_TMP_DIR' , None ) if ( galaxy_test_tmp_dir is None ) : galaxy_test_tmp_dir = tempfile . mkdtemp ( ) return galaxy_test_tmp_dir
create test directory for use by galaxy server being setup for testing .