Felipe Cardoso
|
e4fb1d22e5
|
test(syndarix): add agent_types and enhance issues API tests
- Add comprehensive test_agent_types.py (36 tests)
- CRUD operations (create, read, update, deactivate)
- Authorization (superuser vs regular user)
- Pagination and filtering
- Slug lookup functionality
- Model configuration validation
- Enhance test_issues.py (15 new tests, total 39)
- Issue assignment/unassignment endpoints
- Issue sync endpoint
- Cross-project validation (IDOR prevention)
- Validation error handling
- Sprint/agent reference validation
Coverage improvements:
- agent_types.py: 41% → 83%
- issues.py: 55% → 75%
- Overall: 88% → 89%
|
2025-12-31 14:00:11 +01:00 |
|
Felipe Cardoso
|
62c33d4565
|
test(issues): add comprehensive API route tests
Add 24 tests for issues API covering:
- CRUD operations (create, list, get, update, delete)
- Status and priority filtering
- Search functionality
- Issue statistics
- Authorization and access control
|
2025-12-31 13:20:17 +01:00 |
|