From 2a60e29605e77363284475447f1ef140f5d962d8 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Wed, 14 Oct 2026 17:51:47 +0000 Subject: [PATCH] Assert the new key_unavailable message (section 32.3) --- tests/test_alerts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_alerts.py b/tests/test_alerts.py index ab4f599..60f5ef1 100644 --- a/tests/test_alerts.py +++ b/tests/test_alerts.py @@ -152,7 +152,7 @@ class AlertTests(unittest.TestCase): self.assertEqual(self.codes(record), ["key_unavailable"]) self.assertEqual(alerts[0]["severity"], "critical") self.assertEqual(alerts[0]["source"], "Key 2: Blockstream Jade") - self.assertIn("Replace the key", alerts[0]["message"]) + self.assertIn("Rotate the key to close this alert", alerts[0]["message"]) def test_an_unavailable_key_hides_the_other_results(self): record = clean_record()