Skip to content

Commit 530b66d

Browse files
fixed test case for update multiple candidates
1 parent dfdef57 commit 530b66d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_calc_ops.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ def test_update_multiple_candidates(self, tmp_path, monkeypatch):
156156
calc = CalcOps(repo, home, PlainPlugin(tmp_path / '.data'))
157157
calc.update({'file': ['cat1', 'cat2']}).apply()
158158

159-
assert (repo / 'cat1' / 'file').read_text() == 'file2'
159+
assert (repo / 'cat1' / 'file').exists()
160+
assert not (repo / 'cat1' / 'file').is_symlink()
160161
assert (repo / 'cat2' / 'file').is_symlink()
161162

162163
def test_restore_nomaster_nohome(self, tmp_path, caplog):

0 commit comments

Comments
 (0)