mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
summon: adjust comments
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user