Skip to content

Commit a767980

Browse files
Merge pull request #1800 from dandi/copilot/sub-pr-1792
Fix test assertion mismatch in test_move_not_dandiset
2 parents e19a1cc + c89f6af commit a767980

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dandi/tests/test_move.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,8 +770,8 @@ def test_move_not_dandiset(
770770
with pytest.raises(ValueError) as excinfo:
771771
move("file.txt", "subdir2/banana.txt", dest="subdir1", work_on=work_on)
772772
assert str(excinfo.value) == (
773-
f"'{tmp_path.absolute()}' not a Dandiset because "
774-
"the directory does not contain a 'dandiset.yaml' file. "
773+
f"{tmp_path.absolute()}: not a Dandiset. "
774+
"The directory does not contain a 'dandiset.yaml' file. "
775775
"Use 'dandi download' to download a dandiset first."
776776
)
777777

0 commit comments

Comments
 (0)