diff --git a/dvc_hdfs/tests/fixtures.py b/dvc_hdfs/tests/fixtures.py index a5e8f72..fe0e92c 100644 --- a/dvc_hdfs/tests/fixtures.py +++ b/dvc_hdfs/tests/fixtures.py @@ -215,7 +215,7 @@ def _adjust_entry(self, entry): mocked_path = os.path.relpath(entry.path, self._root) mocked_parts = mocked_path.split(os.path.sep) return FileInfo( - path=posixpath.join(*mocked_parts), + path=posixpath.join("/", *mocked_parts), type=entry.type, mtime=entry.mtime, size=entry.size,