Skip to content

Commit fc2df60

Browse files
committed
test to ensure container write path is posix formatted
1 parent b13d214 commit fc2df60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_containers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def test_copy_file_to_container(mock_get_container: Mock, tmp_path: Path):
321321

322322
# Assert
323323
mock_get_container.return_value.put_archive.assert_called_once_with(
324-
path=Path(wm.MAPPINGS_DIR), data=b'{"foo": "bar"}'
324+
path=Path(wm.MAPPINGS_DIR).as_posix(), data=b'{"foo": "bar"}'
325325
)
326326

327327

0 commit comments

Comments
 (0)