From c40645ea2feaa8639fd6bb46cdda6933f93ffd74 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Wed, 2 Sep 2026 16:24:25 -0700 Subject: [PATCH] test(gateway): repoint two source-inspection/logger-patch tests to run_turn_runner / run_voice --- tests/gateway/test_stream_final_adoption_gate.py | 2 +- tests/gateway/test_voice_mode_platform_isolation.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gateway/test_stream_final_adoption_gate.py b/tests/gateway/test_stream_final_adoption_gate.py index 02f07bfa5f..a44ecb3104 100644 --- a/tests/gateway/test_stream_final_adoption_gate.py +++ b/tests/gateway/test_stream_final_adoption_gate.py @@ -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") diff --git a/tests/gateway/test_voice_mode_platform_isolation.py b/tests/gateway/test_voice_mode_platform_isolation.py index 799029911f..f6c5932f8b 100644 --- a/tests/gateway/test_voice_mode_platform_isolation.py +++ b/tests/gateway/test_voice_mode_platform_isolation.py @@ -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