103
103
class TestNotifications(test.BaseTestCase):
105
105
def _verify_common_sample(self, s, name, notification):
107
107
self.assertEqual(s.name, name)
108
108
self.assertEqual(s.resource_id, notification['payload']['volume_id'])
109
109
self.assertEqual(s.timestamp, notification['timestamp'])