tests: match the merged cloud alert wording exactly
This commit is contained in:
1 parent
d54ecab4a3
commit
fafaf3a15b
1 file changed
+1
-1
@@ -86,7 +86,7 @@ class AlertTests(unittest.TestCase):
|
|||||||
self.assertEqual(alerts[0]["severity"], "critical")
|
self.assertEqual(alerts[0]["severity"], "critical")
|
||||||
self.assertEqual(alerts[0]["source"], "Key 3: Nunchuk")
|
self.assertEqual(alerts[0]["source"], "Key 3: Nunchuk")
|
||||||
self.assertIn("cloud provider", alerts[0]["message"])
|
self.assertIn("cloud provider", alerts[0]["message"])
|
||||||
self.assertIn("Replace the key", alerts[0]["message"])
|
self.assertIn("replace the key", alerts[0]["message"])
|
||||||
|
|
||||||
def test_a_hardware_failure_points_at_testing_the_backup_elsewhere(self):
|
def test_a_hardware_failure_points_at_testing_the_backup_elsewhere(self):
|
||||||
record = clean_record()
|
record = clean_record()
|
||||||
|
|||||||
Reference in new issue
Block a user