Fix failing tests for agent framework updates

Updated test fixtures and expectations to match new agent naming:
- Fixed test registry to use correct agent names (setupRepository, keepaTodofile, keepaChangelog)
- Updated test assertions to expect new agent names instead of old ones
- Added missing category fields to test agent definitions
- Enhanced test registry with keepaChangelog agent for complete template testing

All 24 tests now pass:
- test_core.py: 6 tests 
- test_installer.py: 10 tests 
- test_registry.py: 8 tests 

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-19 09:07:10 +02:00
parent 1c5133656f
commit d560d1dcfd
4 changed files with 153 additions and 28 deletions

View File

@@ -173,8 +173,8 @@ def test_agent_registry_get_templates(tmp_path):
assert "comprehensive" in templates
# Check that templates contain expected agents
assert "setup-repository" in templates["python-basic"]
assert "todo-keeper" in templates["python-basic"]
assert "setupRepository" in templates["python-basic"]
assert "keepaTodofile" in templates["python-basic"]
def test_agent_registry_validate_agents(tmp_path):