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

@@ -256,33 +256,33 @@ class AgentRegistry:
"""Get predefined agent templates for different project types."""
return {
"python-basic": [
"setup-repository",
"todo-keeper",
"changelog-keeper"
"setupRepository",
"keepaTodofile",
"keepaChangelog"
],
"python-web": [
"setup-repository",
"setupRepository",
"tdd-workflow",
"code-refactoring",
"todo-keeper",
"changelog-keeper",
"contributing-keeper"
"keepaTodofile",
"keepaChangelog",
"keepaContributingfile"
],
"python-cli": [
"setup-repository",
"setupRepository",
"tdd-workflow",
"testing-efficiency",
"claude-documentation",
"todo-keeper",
"changelog-keeper"
"keepaTodofile",
"keepaChangelog"
],
"python-data": [
"setup-repository",
"setupRepository",
"datamodel-optimization",
"testing-efficiency",
"requirements-engineering",
"todo-keeper",
"changelog-keeper"
"keepaTodofile",
"keepaChangelog"
],
"comprehensive": [
agent.name for agent in self.list_agents()