Skip to content

Commit 647adb9

Browse files
authored
GH Copilot Suggestions
Clarify comment regarding Copilot's use of templates in tests. Add extra test assertion
1 parent cae2c60 commit 647adb9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_ai_skills.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def test_skills_install_for_all_agents(self, temp_dir, agent_key):
433433
commands_subdir = AGENT_CONFIG[agent_key].get("commands_subdir", "commands")
434434
cmds_dir = proj / agent_folder.rstrip("/") / commands_subdir
435435
cmds_dir.mkdir(parents=True)
436-
# Copilot uses speckit.*.agent.md templates; other agents use plain names
436+
# In this test, Copilot uses speckit.*.agent.md templates; other agents use a simple 'specify.md' name
437437
fname = "speckit.specify.agent.md" if agent_key == "copilot" else "specify.md"
438438
(cmds_dir / fname).write_text(
439439
"---\ndescription: Test command\n---\n\n# Test\n\nBody.\n"
@@ -470,6 +470,7 @@ def test_copilot_ignores_non_speckit_agents(self, project_dir):
470470
skill_dirs = [d.name for d in skills_dir.iterdir() if d.is_dir()]
471471
assert "speckit-plan" in skill_dirs
472472
assert "speckit-other-agent.agent" not in skill_dirs
473+
assert "speckit-other-agent" not in skill_dirs
473474

474475

475476

0 commit comments

Comments
 (0)