@@ -86,7 +86,7 @@ def test_publish_strategy_plugin_google_voice_alerts_skips_missing_config():
8686 assert result .sent_count == 0
8787 assert result .skipped_count == 1
8888 assert result .deliveries [0 ].reason == "missing_google_voice_config"
89- assert "CRISIS_ALERT_GOOGLE_VOICE_GATEWAY " in result .deliveries [0 ].error
89+ assert "CRISIS_ALERT_GOOGLE_VOICE_RECIPIENTS " in result .deliveries [0 ].error
9090 assert "CRISIS_ALERT_GOOGLE_VOICE_GMAIL_USER" in result .deliveries [0 ].error
9191 assert "CRISIS_ALERT_GOOGLE_VOICE_GMAIL_APP_PASSWORD" in result .deliveries [0 ].error
9292 assert observed == []
@@ -99,7 +99,7 @@ def test_publish_strategy_plugin_google_voice_alerts_sends_and_records_marker(tm
9999 result = publish_strategy_plugin_google_voice_alerts (
100100 [_alert_signal ()],
101101 google_voice_settings = StrategyPluginGoogleVoiceSettings (
102- gateway_recipients = ("risk@example.com" ,),
102+ recipients = ("risk@example.com" ,),
103103 gmail_user = "bot@example.com" ,
104104 gmail_app_password = "app-password" ,
105105 ),
@@ -128,7 +128,7 @@ def test_publish_strategy_plugin_google_voice_alerts_sends_and_records_marker(tm
128128def test_publish_strategy_plugin_google_voice_alerts_skips_duplicate_marker (tmp_path ):
129129 store = StrategyPluginGoogleVoiceAlertMarkerStore (local_dir = tmp_path )
130130 settings = StrategyPluginGoogleVoiceSettings (
131- gateway_recipients = ("risk@example.com" ,),
131+ recipients = ("risk@example.com" ,),
132132 gmail_user = "bot@example.com" ,
133133 gmail_app_password = "app-password" ,
134134 )
@@ -158,16 +158,16 @@ def test_publish_strategy_plugin_google_voice_alerts_skips_duplicate_marker(tmp_
158158 assert second .deliveries [0 ].reason == "duplicate_alert"
159159
160160
161- def test_google_voice_settings_reads_google_voice_gmail_names_only ():
161+ def test_google_voice_settings_reads_google_voice_recipient_names_only ():
162162 settings = StrategyPluginGoogleVoiceSettings .from_object (
163163 SimpleNamespace (
164- crisis_alert_google_voice_gateway = "gateway@txt. voice.google .com" ,
164+ crisis_alert_google_voice_recipients = "alerts@example.com; voice@example .com" ,
165165 crisis_alert_google_voice_gmail_user = "sender@gmail.com" ,
166166 crisis_alert_google_voice_gmail_app_password = "app-password" ,
167167 )
168168 )
169169
170170 assert settings .gmail_user == "sender@gmail.com"
171- assert settings .gateway_recipients == ("gateway@txt. voice.google. com" , )
171+ assert settings .recipients == ("alerts@example.com" , " voice@example. com" )
172172 assert settings .gmail_app_password == "app-password"
173173 assert settings .missing_fields () == ()
0 commit comments