From 1c22cd5af4a307058fe138920bda08ed883f34fa Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Tue, 24 Dec 2019 02:20:08 -0600 Subject: [PATCH] summon: adjust comments --- dvc/api.py | 1 + tests/func/test_api.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/api.py b/dvc/api.py index 44db6aac6..d5909dea5 100644 --- a/dvc/api.py +++ b/dvc/api.py @@ -78,6 +78,7 @@ def _make_repo(repo_url, rev=None): def summon(name, fname="dvcsummon.yaml", args=None, repo=None, rev=None): + # TODO: Write a meaningful docstring about `summon` with _make_repo(repo, rev=rev) as _repo: def pull_dependencies(deps): diff --git a/tests/func/test_api.py b/tests/func/test_api.py index 0b019d42f..39e7837b4 100644 --- a/tests/func/test_api.py +++ b/tests/func/test_api.py @@ -148,7 +148,6 @@ def test_summon(tmp_dir, erepo_dir, dvc, monkeypatch): } ) - # XXX: Chdir because `stage.create` defaults to `wdir = os.curdir` with monkeypatch.context() as m: m.chdir(fspath(erepo_dir))