diff --git a/storage/tests/system.py b/storage/tests/system.py index d98959187ab9..cbc49fa13c70 100644 --- a/storage/tests/system.py +++ b/storage/tests/system.py @@ -607,7 +607,7 @@ def test_notification_minimal(self): retry_429(notification.create)() try: self.assertTrue(notification.exists()) - self.assertIsNotNone(notification.id) + self.assertIsNotNone(notification.notification_id) notifications = list(bucket.list_notifications()) self.assertEqual(len(notifications), 1) self.assertEqual(notifications[0].topic_name, self.TOPIC_NAME) @@ -628,7 +628,7 @@ def test_notification_explicit(self): retry_429(notification.create)() try: self.assertTrue(notification.exists()) - self.assertIsNotNone(notification.id) + self.assertIsNotNone(notification.notification_id) self.assertEqual( notification.custom_attributes, self.CUSTOM_ATTRIBUTES) self.assertEqual(notification.event_types, self.event_types())