From cb15bf3e7c1e15b0f0257513b091df47d97aaea5 Mon Sep 17 00:00:00 2001 From: Markus Binsteiner Date: Wed, 17 Apr 2024 14:50:26 +0200 Subject: [PATCH] test: windows path separator --- tests/job_tests/download_file_bundle_subfolder/outputs.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/job_tests/download_file_bundle_subfolder/outputs.py b/tests/job_tests/download_file_bundle_subfolder/outputs.py index a957e77..7638897 100644 --- a/tests/job_tests/download_file_bundle_subfolder/outputs.py +++ b/tests/job_tests/download_file_bundle_subfolder/outputs.py @@ -1,4 +1,6 @@ # -*- coding: utf-8 -*- +import os + from kiara.models.filesystem import KiaraFileBundle from kiara.models.values.value import Value @@ -18,5 +20,6 @@ def check_downloaded_file(file_bundle: Value): ), f"Expected a KiaraFileBundle object, got: {kiara_file_bundle.__class__}" assert ( - "kiara_plugin/core_types/defaults.py" in kiara_file_bundle.included_files.keys() + f"kiara_plugin{os.path.sep}core_types{os.path.sep}defaults.py" + in kiara_file_bundle.included_files.keys() ), f"Expected 'kiara_plugin/core_types/defaults.py' in included files, got: {kiara_file_bundle.included_files.keys()}"