def ensure_test_file_dir_set():
 galaxy_test_file_dir = os.environ.get('GALAXY_TEST_FILE_DIR', GALAXY_TEST_FILE_DIR)
 os.environ['GALAXY_TEST_FILE_DIR'] = galaxy_test_file_dir
 first_test_file_dir = galaxy_test_file_dir.split(',')[0]
 return first_test_file_dir

def ensure_test_file_dir_set ( ) : galaxy_test_file_dir = os . environ . get ( 'GALAXY_TEST_FILE_DIR' , GALAXY_TEST_FILE_DIR ) os . environ [ 'GALAXY_TEST_FILE_DIR' ] = galaxy_test_file_dir first_test_file_dir = galaxy_test_file_dir . split ( ',' ) [ 0 ] return first_test_file_dir
ensure galaxy_test_file_dir setup in environment for test data resolver .