From 18446996ab9380657e64fa81fe9bdceb324b05a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Redzy=C5=84ski?= Date: Thu, 16 Jan 2020 10:43:13 +0100 Subject: [PATCH] get: tes_get_from_non_dvc_master: capture git logs at INFO --- tests/func/test_get.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/func/test_get.py b/tests/func/test_get.py index cdbbe4bbd..d7b272e26 100644 --- a/tests/func/test_get.py +++ b/tests/func/test_get.py @@ -174,7 +174,9 @@ def test_get_from_non_dvc_master(tmp_dir, erepo_dir, caplog): caplog.clear() dst = "file_imported" - with caplog.at_level(logging.INFO, logger="dvc"): + with caplog.at_level(logging.INFO, logger="dvc"), caplog.at_level( + logging.INFO, logger="git" + ): Repo.get(fspath(erepo_dir), "some_file", out=dst, rev="branch") assert caplog.text == ""