mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-17 15:28:28 +01:00
test_get_from_non_dvc_master: add comment about git logs
This commit is contained in:
@@ -174,8 +174,11 @@ 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"), caplog.at_level(
|
||||
logging.INFO, logger="git"
|
||||
|
||||
# removing `git` import in conftest resulted in unexpected logs from
|
||||
# that package, see https://github.com/iterative/dvc/issues/3167
|
||||
with caplog.at_level(logging.INFO, logger="git"), caplog.at_level(
|
||||
logging.INFO, logger="dvc"
|
||||
):
|
||||
Repo.get(fspath(erepo_dir), "some_file", out=dst, rev="branch")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user