Skip to content

Commit ac03532

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b1bc7dc commit ac03532

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/test_cli.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,15 @@ def test_add_remove_profile():
142142
assert "Profile with name 'new-profile' does not exist." in result.output
143143

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

153+
149154
def test_add_profile_invalid_name():
150155
runner: CliRunner = CliRunner()
151156
# underscores are not allowed

0 commit comments

Comments
 (0)