chore: clean imports and restore test coverage

This commit is contained in:
2026-10-09 19:05:39 +00:00
parent cebcb3fd61
commit ee6f5ea52e
9 changed files with 59 additions and 46 deletions

View File

@@ -56,18 +56,6 @@ def test_cannot_start_second_turn():
manager.start(2)
def test_cannot_stop_before_completed():
manager = TurnManager()
manager.start(1)
with pytest.raises(
RuntimeError,
match="final transcript",
):
manager.stop(1)
def test_interrupt():
manager = TurnManager()
@@ -152,7 +140,7 @@ def test_tts_completion_requires_speaking_state():
manager.on_tts_complete(1)
def test_cannot_stop_before_completed():
def test_cannot_stop_while_listening():
manager = TurnManager()
manager.start(1)