mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
exp init: update message
This commit is contained in:
committed by
Saugat Pachhai
parent
f8467cf375
commit
69ce69e427
@@ -154,7 +154,7 @@ def init_interactive(
|
||||
styled=True,
|
||||
)
|
||||
|
||||
tree_label = "Experiment project structure:"
|
||||
tree_label = "Using experiment project structure:"
|
||||
display_workspace_tree(workspace, tree_label, stderr=True)
|
||||
ret.update(
|
||||
compact(
|
||||
@@ -329,7 +329,7 @@ def init(
|
||||
stage.dump(update_lock=False)
|
||||
stage.ignore_outs()
|
||||
if not interactive:
|
||||
label = "Experiment project structure:"
|
||||
label = "Using experiment project structure:"
|
||||
display_workspace_tree(context, label)
|
||||
init_deps(stage, log=not interactive)
|
||||
if params:
|
||||
|
||||
@@ -298,7 +298,7 @@ def test_init_default(tmp_dir, scm, dvc, interactive, overrides, inp, capsys):
|
||||
assert "'data' does not exist, the directory will be created." in err
|
||||
assert not out
|
||||
return
|
||||
assert "Experiment project structure: " in out
|
||||
assert "Using experiment project structure: " in out
|
||||
assert "Creating script.py and data" in out
|
||||
|
||||
|
||||
@@ -385,7 +385,7 @@ def test_init_interactive_live(
|
||||
assert "'data' does not exist, the directory will be created." in err
|
||||
assert not out
|
||||
return
|
||||
assert "Experiment project structure: " in out
|
||||
assert "Using experiment project structure: " in out
|
||||
assert "Creating script.py and data" in out
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user