test(conductor): Add validation tests for Tech Lead JSON retry logic
This commit is contained in:
@@ -12,12 +12,12 @@
|
||||
- [x] Task: Conductor - User Manual Verification 'Phase 1: Implementation' (Protocol in workflow.md)
|
||||
|
||||
## Phase 2: Unit Testing
|
||||
- [ ] Task: Write Simulation Tests for JSON Parsing
|
||||
- [ ] WHERE: `tests/test_conductor_tech_lead.py`
|
||||
- [ ] WHAT: Add tests `test_generate_tickets_retry_success` and `test_generate_tickets_retry_failure`.
|
||||
- [ ] HOW: Mock `ai_client.send` side_effect to return invalid JSON first, then valid JSON. Assert call counts.
|
||||
- [ ] SAFETY: Standard pytest mocking.
|
||||
- [ ] Task: Conductor - User Manual Verification 'Phase 2: Unit Testing' (Protocol in workflow.md)
|
||||
- [x] Task: Write Simulation Tests for JSON Parsing
|
||||
- [x] WHERE: `tests/test_conductor_tech_lead.py`
|
||||
- [x] WHAT: Add tests `test_generate_tickets_retry_success` and `test_generate_tickets_retry_failure`.
|
||||
- [x] HOW: Mock `ai_client.send` side_effect to return invalid JSON first, then valid JSON. Assert call counts.
|
||||
- [x] SAFETY: Standard pytest mocking.
|
||||
- [x] Task: Conductor - User Manual Verification 'Phase 2: Unit Testing' (Protocol in workflow.md)
|
||||
|
||||
## Phase 3: Final Validation
|
||||
- [ ] Task: Full Suite Validation & Warning Cleanup
|
||||
|
||||
Reference in New Issue
Block a user