data cloud: verify is config option now

This commit is contained in:
pawel
2020-01-22 10:54:07 +01:00
committed by Paweł Redzyński
parent f4e0079ec1
commit a148d16a95
11 changed files with 19 additions and 115 deletions
+6 -1
View File
@@ -280,6 +280,11 @@ def test_verify_checksums(tmp_dir, erepo_dir, mocker):
# Removing cache will invalidate existing state entries
shutil.rmtree(dvc.cache.local.cache_dir)
dvc.config.set(
Config.SECTION_REMOTE_FMT.format("upstream"),
Config.SECTION_REMOTE_VERIFY,
"True",
)
dvc.pull(verify=True)
dvc.pull()
assert file_md5_spy.call_count == 3