Increase verbosity in test_create_update_get_delete_alarm
log alarm histiory body when comparison fails to clearly see
what was actually returned.
Change-Id: I2ee40373f3972062cec94fef80d404c835fdd50f
Related-Issue: PRODX-38635
diff --git a/telemetry_tempest_plugin/aodh/api/test_alarming_api.py b/telemetry_tempest_plugin/aodh/api/test_alarming_api.py
index 0961352..47fd193 100644
--- a/telemetry_tempest_plugin/aodh/api/test_alarming_api.py
+++ b/telemetry_tempest_plugin/aodh/api/test_alarming_api.py
@@ -107,10 +107,10 @@
# Get history for the alarm and verify the same
body = self.alarming_client.show_alarm_history(alarm_id)
- self.assertEqual("rule change", body[0]['type'])
- self.assertIn(alarm_name_updated, body[0]['detail'])
- self.assertEqual("creation", body[1]['type'])
- self.assertIn(alarm_name, body[1]['detail'])
+ self.assertEqual("rule change", body[0]['type'], body)
+ self.assertIn(alarm_name_updated, body[0]['detail'], body)
+ self.assertEqual("creation", body[1]['type'], body)
+ self.assertIn(alarm_name, body[1]['detail'], body)
# Query by state and verify
query = ['state', 'eq', 'insufficient data']