MCPcopy
hub / github.com/treeverse/dvc / test_fetch_stats

Function test_fetch_stats

tests/func/test_data_cloud.py:475–482  ·  view source on GitHub ↗
(tmp_dir, dvc, fs, msg, capsys, local_remote)

Source from the content-addressed store, hash-verified

473 ],
474)
475def test_fetch_stats(tmp_dir, dvc, fs, msg, capsys, local_remote):
476 tmp_dir.dvc_gen(fs)
477 dvc.push()
478 clean(list(fs.keys()), dvc)
479
480 main(["fetch"])
481 out, _ = capsys.readouterr()
482 assert msg in out
483
484
485def test_pull_stats(tmp_dir, dvc, capsys, local_remote):

Callers

nothing calls this directly

Calls 5

mainFunction · 0.90
dvc_genMethod · 0.80
keysMethod · 0.80
cleanFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected