Skip to content

Commit

Permalink
test: windows path separator
Browse files Browse the repository at this point in the history
  • Loading branch information
makkus committed Apr 17, 2024
1 parent bd328d5 commit cb15bf3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/job_tests/download_file_bundle_subfolder/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 @@ -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()}"

0 comments on commit cb15bf3

Please sign in to comment.