From 4ada384fcd07c69737608eb0918f1080f668e3d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Santos?= Date: Wed, 15 Jan 2020 12:43:14 +0000 Subject: [PATCH] remove trace statement --- dvc/dependency/repo.py | 1 - tests/func/test_status.py | 8 ++++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dvc/dependency/repo.py b/dvc/dependency/repo.py index 424269d60..f8ffeb9f6 100644 --- a/dvc/dependency/repo.py +++ b/dvc/dependency/repo.py @@ -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 = ( diff --git a/tests/func/test_status.py b/tests/func/test_status.py index 1b688803a..d8a65b9c7 100644 --- a/tests/func/test_status.py +++ b/tests/func/test_status.py @@ -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" + } + }