test(gateway): repoint two source-inspection/logger-patch tests to run_turn_runner / run_voice

This commit is contained in:
Teknium
2026-09-02 16:24:25 -07:00
parent 66366d3dab
commit c40645ea2f
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ class TestGateWiring:
completed checks — a source-level pin so the contract test above
cannot drift green while the call site regresses."""
import inspect
import gateway.run as run_mod
import gateway.run_turn_runner as run_mod
src = inspect.getsource(run_mod)
anchor = src.index("_final_for_stream = None")

View File

@@ -77,7 +77,7 @@ class TestLegacyKeyMigration:
voice_path.write_text(json.dumps(legacy_data))
with patch.object(runner, "_VOICE_MODE_PATH", voice_path):
with patch("gateway.run.logger") as mock_logger:
with patch("gateway.run_voice.logger") as mock_logger:
result = runner._load_voice_modes()
# Legacy keys without ':' should be skipped