mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
get: tes_get_from_non_dvc_master: capture git logs at INFO
This commit is contained in:
@@ -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 == ""
|
||||
|
||||
Reference in New Issue
Block a user