diff --git a/tests/utils/path_utils.py b/tests/utils/path_utils.py index 16bac654df7..38847ddbb25 100644 --- a/tests/utils/path_utils.py +++ b/tests/utils/path_utils.py @@ -15,7 +15,7 @@ from pathlib import Path UTILS_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, str(UTILS_DIR)) -from platform_utils import get_os_name +from platform_utils import get_os_type def expand_env_vars(obj): @@ -34,7 +34,7 @@ def expand_env_vars(obj): def get_lib_path(lib_name): """Function for getting absolute path in OpenVINO directory to specific lib""" - os_name = get_os_name() + os_type = get_os_type() all_libs = { 'openvino_intel_cpu_plugin': { 'Windows': Path('runtime/bin/intel64/Release/openvino_intel_cpu_plugin.dll'), @@ -43,7 +43,7 @@ def get_lib_path(lib_name): 'Windows': Path('runtime/bin/intel64/Release/openvino.dll'), 'Linux': Path('runtime/lib/intel64/libopenvino.so')} } - return all_libs[lib_name][os_name] + return all_libs[lib_name][os_type] def check_positive_int(val):