Skip to content

Commit e0816d7

Browse files
medhatgalalmnriemCopilot
authored andcommitted
feat: add kiro-cli and AGENT_CONFIG consistency coverage (github#1690)
* feat: add kiro-cli and AGENT_CONFIG consistency coverage * fix: address PR feedback for kiro-cli migration * test: assert init invocation result in --here mode test * test: capture init result in here-mode command test * chore: save local unapproved work in progress * fix: resolve remaining PR1690 review threads * Update src/specify_cli/__init__.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * test: reduce brittleness in ai help alias assertion * fix: resolve PR1690 ruff syntax regression --------- Co-authored-by: Manfred Riem <15701806+mnriem@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 13e40a0 commit e0816d7

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

tests/test_ai_skills.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -507,10 +507,8 @@ def test_new_project_nonstandard_commands_subdir_removed_after_skills_succeed(se
507507

508508
def fake_download(project_path, *args, **kwargs):
509509
self._fake_extract("kiro-cli", project_path)
510-
return (project_path, {"release": "test"})
511510

512-
with patch("specify_cli.show_banner"), \
513-
patch("specify_cli.download_and_extract_template", side_effect=fake_download), \
511+
with patch("specify_cli.download_and_extract_template", side_effect=fake_download), \
514512
patch("specify_cli.ensure_executable_scripts"), \
515513
patch("specify_cli.ensure_constitution_from_template"), \
516514
patch("specify_cli.install_ai_skills", return_value=True) as mock_skills, \
@@ -677,8 +675,7 @@ def test_kiro_alias_normalized_to_kiro_cli(self, tmp_path):
677675
runner = CliRunner()
678676
target = tmp_path / "kiro-alias-proj"
679677

680-
with patch("specify_cli.show_banner"), \
681-
patch("specify_cli.download_and_extract_template", return_value=(target, {"release": "test"})) as mock_download, \
678+
with patch("specify_cli.download_and_extract_template") as mock_download, \
682679
patch("specify_cli.ensure_executable_scripts"), \
683680
patch("specify_cli.ensure_constitution_from_template"), \
684681
patch("specify_cli.is_git_repo", return_value=False), \

0 commit comments

Comments
 (0)