From 7afe71fe512c6d2632f578d2ed9d3c2e08413aa7 Mon Sep 17 00:00:00 2001 From: Antoine Lavenant Date: Thu, 14 Dec 2023 09:39:15 +0100 Subject: [PATCH] update test code --- test/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/utils.py b/test/utils.py index 37a7f5d..89b9c75 100755 --- a/test/utils.py +++ b/test/utils.py @@ -2,9 +2,9 @@ import os import subprocess -os.environ["PDAL_DRIVER_PATH"] = os.path.abspath('./install/lib') - def pdal_has_plugin(name_filter): + os.environ["PDAL_DRIVER_PATH"] = os.path.abspath('./install/lib') + print("init pdal driver : ", os.environ["PDAL_DRIVER_PATH"]) result = subprocess.run(['pdal', '--drivers'], stdout=subprocess.PIPE) if name_filter not in result.stdout.decode('utf-8'): raise ValueError("le script " + name_filter + " n'est pas visible")