update test fixture to use matchers from dvc.testing (#10940)

This commit is contained in:
skshetry
2025-12-30 09:08:31 +05:45
committed by GitHub
parent 9fb761772c
commit 7ed8d896df
14 changed files with 65 additions and 24 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ from os.path import join
import pytest
from dvc.testing import matchers as M
from dvc.utils import relpath
@@ -54,7 +55,7 @@ def test_diff_new(tmp_dir, scm, dvc):
}
def test_diff_deleted(M, tmp_dir, scm, dvc):
def test_diff_deleted(tmp_dir, scm, dvc):
tmp_dir.gen("params.yaml", "foo: bar")
dvc.run(cmd="echo params.yaml", params=["foo"], name="echo-params")
scm.add(["params.yaml", "Dvcfile"])