mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-09 23:10:24 +01:00
update test fixture to use matchers from dvc.testing (#10940)
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user