Skip to content
Prev Previous commit
Next Next commit
test: capture init result in here-mode command test
  • Loading branch information
medhatgalal committed Mar 3, 2026
commit 8779451dc37266572ed14a6ea898294474a0b03c
2 changes: 1 addition & 1 deletion tests/test_ai_skills.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def fake_download(project_path, *args, **kwargs):
patch("specify_cli.install_ai_skills", return_value=True), \
patch("specify_cli.is_git_repo", return_value=True), \
patch("specify_cli.shutil.which", return_value="/usr/bin/git"):
result = runner.invoke(app, ["init", "--here", "--ai", "claude", "--ai-skills", "--script", "sh", "--no-git"])
result = runner.invoke(app, ["init", "--here", "--ai", "claude", "--ai-skills", "--script", "sh", "--no-git"], input="y\n")

assert result.exit_code == 0
# Commands must remain for --here
Expand Down