Skip to content

Commit 6afc1a5

Browse files
committed
test: capture init result in here-mode command test
1 parent e3fd551 commit 6afc1a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_ai_skills.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ def fake_download(project_path, *args, **kwargs):
545545
patch("specify_cli.install_ai_skills", return_value=True), \
546546
patch("specify_cli.is_git_repo", return_value=True), \
547547
patch("specify_cli.shutil.which", return_value="/usr/bin/git"):
548-
result = runner.invoke(app, ["init", "--here", "--ai", "claude", "--ai-skills", "--script", "sh", "--no-git"])
548+
result = runner.invoke(app, ["init", "--here", "--ai", "claude", "--ai-skills", "--script", "sh", "--no-git"], input="y\n")
549549

550550
assert result.exit_code == 0
551551
# Commands must remain for --here

0 commit comments

Comments
 (0)