fix(telegram): label buttons by verified outcome
This commit is contained in:
@@ -125,8 +125,8 @@ async def test_controlled_automation_keyboard_has_no_approval_buttons() -> None:
|
||||
|
||||
assert "✅ 批准" not in button_texts
|
||||
assert "❌ 拒絕" not in button_texts
|
||||
assert "🧰 處置包" in button_texts
|
||||
assert "📊 歷史" in button_texts
|
||||
assert "🧰 AI 處置證據" in button_texts
|
||||
assert "📈 復發趨勢" in button_texts
|
||||
|
||||
|
||||
def _approval_record(*, action: str, risk_level: RiskLevel) -> SimpleNamespace:
|
||||
|
||||
Reference in New Issue
Block a user