get: split command for getting url and getting files from url functions

This commit is contained in:
Saugat Pachhai
2020-01-16 19:28:14 +05:45
parent 4509f82bc3
commit eb252e055b
3 changed files with 41 additions and 11 deletions
+1
View File
@@ -24,6 +24,7 @@ def test_get_url(mocker):
cmd = cli_args.func(cli_args)
m = mocker.patch("dvc.api.get_url")
m.return_value = "url"
assert cmd.run() == 0