mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-26 23:09:35 +01:00
tests/repo: stringify stage.relpath
This commit is contained in:
@@ -67,7 +67,7 @@ def test_stages(tmp_dir, dvc):
|
||||
tmp_dir.dvc_gen({"file": "a", "dir/file": "b", "dir/subdir/file": "c"})
|
||||
|
||||
def stages():
|
||||
return [stage.relpath for stage in Repo(tmp_dir).stages]
|
||||
return [str(stage.relpath) for stage in Repo(tmp_dir).stages]
|
||||
|
||||
assert stages() == ["file.dvc", "dir/file.dvc", "dir/subdir/file.dvc"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user