mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
s/Creating/Created
This commit is contained in:
committed by
Saugat Pachhai
parent
6eb5c31dd7
commit
497eac952c
@@ -226,7 +226,7 @@ def init_deps(stage: PipelineStage) -> None:
|
||||
|
||||
if new_deps:
|
||||
paths = map("[green]{0}[/]".format, new_deps)
|
||||
ui.write(f"Creating {humanize.join(paths)}", styled=True)
|
||||
ui.write(f"Created {humanize.join(paths)}.", styled=True)
|
||||
|
||||
# always create a file for params, detect file/folder based on extension
|
||||
# for other dependencies
|
||||
|
||||
@@ -213,7 +213,7 @@ def test_init_interactive_params_validation(tmp_dir, dvc, capsys):
|
||||
"Please retry with an existing parameters file.\n"
|
||||
"Path to a parameters file [params.yaml, n to omit]:"
|
||||
) in err
|
||||
assert out == "Creating script.py\n"
|
||||
assert out == "Created script.py.\n"
|
||||
|
||||
|
||||
def test_init_with_no_defaults_interactive(tmp_dir, dvc):
|
||||
@@ -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
|
||||
else:
|
||||
assert "Using experiment project structure: " in out
|
||||
assert "Creating script.py and data" in out
|
||||
assert "Created script.py and data" in out
|
||||
|
||||
|
||||
@pytest.mark.timeout(5, func_only=True)
|
||||
@@ -384,7 +384,7 @@ def test_init_interactive_live(
|
||||
assert "'data' does not exist, the directory will be created." in err
|
||||
else:
|
||||
assert "Using experiment project structure: " in out
|
||||
assert "Creating script.py and data" in out
|
||||
assert "Created script.py and data" in out
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
||||
Reference in New Issue
Block a user