Skip to content

Commit

Permalink
test: fix remaining windows path issues
Browse files Browse the repository at this point in the history
  • Loading branch information
makkus committed Apr 17, 2024
1 parent cb15bf3 commit 12e41d3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion tests/job_tests/download_file_bundle/outputs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# -*- coding: utf-8 -*-
import os

from kiara.models.filesystem import KiaraFileBundle
from kiara.models.values.value import Value

Expand All @@ -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()
)
4 changes: 3 additions & 1 deletion tests/job_tests/download_file_bundle_from_github/outputs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# -*- coding: utf-8 -*-
import os

from kiara.models.filesystem import KiaraFileBundle
from kiara.models.values.value import Value

Expand All @@ -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()
)
2 changes: 1 addition & 1 deletion tests/job_tests/download_file_bundle_subfolder/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()}"

0 comments on commit 12e41d3

Please sign in to comment.