Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 5, 2023
1 parent b1bc7dc commit ac03532
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,15 @@ def test_add_remove_profile():
assert "Profile with name 'new-profile' does not exist." in result.output

# Remove second-profile with reset (`--purge` option)
result: Result = runner.invoke(cli.cli, ["profile", "remove", "--purge", "second-profile"], input="second-profile\ny\n")
result: Result = runner.invoke(
cli.cli,
["profile", "remove", "--purge", "second-profile"],
input="second-profile\ny\n",
)
assert result.exit_code == 0
assert "Please enter the name of the profile to continue" in result.output


def test_add_profile_invalid_name():
runner: CliRunner = CliRunner()
# underscores are not allowed
Expand Down

0 comments on commit ac03532

Please sign in to comment.