refactor(sdm): Global pass with refined 'External Only' SDM tags. Pruned redundant internal references and fixed indentation logic in injector. Verified full project compilation.
This commit is contained in:
@@ -6,7 +6,8 @@ import threading
|
||||
|
||||
def test_conductor_abort_event_populated():
|
||||
"""
|
||||
Test that ConductorEngine populates _abort_events when spawning a worker.
|
||||
|
||||
Test that ConductorEngine populates _abort_events when spawning a worker.
|
||||
"""
|
||||
# 1. Mock WorkerPool.spawn to return a mock thread
|
||||
with patch('src.multi_agent_conductor.WorkerPool.spawn') as mock_spawn:
|
||||
@@ -29,4 +30,4 @@ def test_conductor_abort_event_populated():
|
||||
|
||||
# 5. Assert that self._abort_events has an entry for the ticket ID
|
||||
assert ticket_id in engine._abort_events
|
||||
assert isinstance(engine._abort_events[ticket_id], threading.Event)
|
||||
assert isinstance(engine._abort_events[ticket_id], threading.Event)
|
||||
Reference in New Issue
Block a user