The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(gateway): repoint two source-inspection/logger-patch tests to run_turn_runner / run_voice
Tekniumc40645ea2fea
diff --git a/tests/gateway/test_stream_final_adoption_gate.py b/tests/gateway/test_stream_final_adoption_gate.pyindex 02f07bfa5f8..a44ecb31042 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 abovecannot drift green while the call site regresses."""import inspect- import gateway.run as run_mod+ import gateway.run_turn_runner as run_modsrc = 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.pyindex 799029911fb..f6c5932f8b3 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