Skip to content

Commit

Permalink
test_get_from_non_dvc_master: add comment about git logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pared committed Jan 16, 2020
1 parent 1844699 commit 36c64c6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/func/test_get.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 36c64c6

Please sign in to comment.