feat(telegram): enforce canonical product routing
This commit is contained in:
@@ -179,8 +179,9 @@ class TestSREGroupCutover:
|
||||
)
|
||||
assert match, "找不到 send_approval_card 函式"
|
||||
fn_body = match.group(0)
|
||||
assert '"chat_id": target_chat_id' in fn_body
|
||||
assert "target_chat_id = self.alert_chat_id" in fn_body
|
||||
assert "_LEGACY_NOTIFICATION_TYPE_KEY" in fn_body
|
||||
assert 'notification_type or "UNKNOWN"' in fn_body
|
||||
assert '"chat_id": target_chat_id' not in fn_body
|
||||
assert '"chat_id": self.chat_id' not in fn_body
|
||||
|
||||
def test_send_approval_card_does_not_double_send_group(self):
|
||||
|
||||
Reference in New Issue
Block a user