remove trace statement

This commit is contained in:
Fábio Santos
2020-01-15 12:43:14 +00:00
parent 008a531535
commit 4ada384fcd
2 changed files with 6 additions and 3 deletions
-1
View File
@@ -115,7 +115,6 @@ class DependencyREPO(DependencyLOCAL):
def status(self):
current_fileinfo = self._get_fileinfo(updated=False)
updated_fileinfo = self._get_fileinfo(updated=True)
print("CURRENT", current_fileinfo, "UPDATED", updated_fileinfo)
if current_fileinfo["checksum"] and updated_fileinfo["checksum"]:
has_changed = (
+6 -2
View File
@@ -89,6 +89,10 @@ def test_status_before_and_after_dvc_init(tmp_dir, dvc, erepo_dir):
# cli call, so we need to clean the caches to see the changes.
clean_repos()
status = dvc.status(["file.dvc"])
status, = dvc.status(["file.dvc"])["file.dvc"]
print("STATUS", status)
assert status == {
"changed deps": {
"file ({})".format(fspath(erepo_dir)): "update available"
}
}