diff --git a/tests/job_tests/download_file_bundle/outputs.py b/tests/job_tests/download_file_bundle/outputs.py index 6c91ff0..d4f04cd 100644 --- a/tests/job_tests/download_file_bundle/outputs.py +++ b/tests/job_tests/download_file_bundle/outputs.py @@ -1,4 +1,6 @@ # -*- coding: utf-8 -*- +import os + from kiara.models.filesystem import KiaraFileBundle from kiara.models.values.value import Value @@ -12,6 +14,6 @@ def check_downloaded_file(file_bundle: Value): assert kiara_file_bundle.__class__ == KiaraFileBundle assert ( - "kiara_plugin.core_types-develop/.gitignore" + f"kiara_plugin.core_types-develop{os.path.sep}.gitignore" in kiara_file_bundle.included_files.keys() ) diff --git a/tests/job_tests/download_file_bundle_from_github/outputs.py b/tests/job_tests/download_file_bundle_from_github/outputs.py index 18fc9e1..01d8068 100644 --- a/tests/job_tests/download_file_bundle_from_github/outputs.py +++ b/tests/job_tests/download_file_bundle_from_github/outputs.py @@ -1,4 +1,6 @@ # -*- coding: utf-8 -*- +import os + from kiara.models.filesystem import KiaraFileBundle from kiara.models.values.value import Value @@ -12,6 +14,6 @@ def check_downloaded_file(file_bundle: Value): assert kiara_file_bundle.__class__ == KiaraFileBundle assert ( - "kiara_plugin.core_types-main/.gitignore" + f"kiara_plugin.core_types-main{os.path.sep}.gitignore" in kiara_file_bundle.included_files.keys() ) diff --git a/tests/job_tests/download_file_bundle_subfolder/outputs.py b/tests/job_tests/download_file_bundle_subfolder/outputs.py index 7638897..f268b7e 100644 --- a/tests/job_tests/download_file_bundle_subfolder/outputs.py +++ b/tests/job_tests/download_file_bundle_subfolder/outputs.py @@ -22,4 +22,4 @@ def check_downloaded_file(file_bundle: Value): assert ( 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()}" + ), f"Expected 'kiara_plugin{os.path.sep}core_types{os.path.sep}defaults.py' in included files, got: {kiara_file_bundle.included_files.keys()}"