dvc: add: set top level md5 to None (#3846)

This way it won't be included into produced dvcfiles (we don't need it
for `dvc add`).
This commit is contained in:
Ruslan Kuprieiev
2020-05-22 17:21:43 +03:00
committed by GitHub
parent 865d355554
commit 21a3efe2c7
4 changed files with 11 additions and 7 deletions
+1
View File
@@ -70,6 +70,7 @@ def test_commit_changed_md5(tmp_dir, dvc):
dvc.commit(stage.path)
dvc.commit(stage.path, force=True)
assert "md5" not in load_stage_file(stage.path)
def test_commit_no_exec(tmp_dir, dvc):