test(gateway): repoint two source-inspection/logger-patch tests to run_turn_runner / run_voice
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user