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
@@ -1,9 +1,10 @@
from dvc.cli import parse_args
from dvc.commands.get_url import CmdGetUrl
from dvc.config import Config
from dvc.testing import matchers as M
def test_get_url(mocker, M):
def test_get_url(mocker):
cli_args = parse_args(["get-url", "src", "out", "-j", "5"])
assert cli_args.func == CmdGetUrl