Skip to content

Commit

Permalink
Lint test
Browse files Browse the repository at this point in the history
  • Loading branch information
gmsantos committed Jun 17, 2022
1 parent 174b537 commit 6ad8fc3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_cli.py
Expand Up @@ -338,6 +338,7 @@ def test_update_same_commit_but_ask_for_input(cruft_runner, cookiecutter_dir_inp
assert "cruft has been updated" in result.stdout
assert result.exit_code == 0


def test_update_with_input_changes(cruft_runner, cookiecutter_dir_input, capfd):
result = cruft_runner(
["update", "--project-dir", cookiecutter_dir_input.as_posix(), "-c", "input", "-i"],
Expand All @@ -363,7 +364,9 @@ def test_update_new_inputs_added_to_template(cruft_runner, cookiecutter_dir_inpu
assert result.exit_code == 0


def test_update_refresh_private_variables_from_template(cruft_runner, cookiecutter_dir_input, capfd):
def test_update_refresh_private_variables_from_template(
cruft_runner, cookiecutter_dir_input, capfd
):
result = cruft_runner(
["update", "--project-dir", cookiecutter_dir_input.as_posix(), "-c", "input-updated", "-r"],
input="v\ny\n",
Expand Down

0 comments on commit 6ad8fc3

Please sign in to comment.