Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions gslib/tests/test_notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ def test_notification_splits_dash_m_value_correctly(self,
class TestNotification(testcase.GsUtilIntegrationTestCase):
"""Integration tests for notification command."""

@unittest.skipUnless(NOTIFICATION_URL,
'Test requires notification URL configuration.')
@unittest.skip('Object Change Notification (OCN) is deprecated; new channel creation is blocked.')
def test_watch_bucket(self):
"""Tests creating a notification channel on a bucket."""
bucket_uri = self.CreateBucket()
Expand All @@ -91,8 +90,7 @@ def test_watch_bucket(self):
self.assertIn('token: %s' % token, stderr)
self.assertIn('identifier: %s' % identifier, stderr)

@unittest.skipUnless(NOTIFICATION_URL,
'Test requires notification URL configuration.')
@unittest.skip('Object Change Notification (OCN) is deprecated; new channel creation is blocked.')
def test_stop_channel(self):
"""Tests stopping a notification channel on a bucket."""
bucket_uri = self.CreateBucket()
Expand All @@ -111,8 +109,7 @@ def test_stop_channel(self):

self.RunGsUtil(['notification', 'stopchannel', channel_id, resource_id])

@unittest.skipUnless(NOTIFICATION_URL,
'Test requires notification URL configuration.')
@unittest.skip('Object Change Notification (OCN) is deprecated; new channel creation is blocked.')
def test_list_one_channel(self):
"""Tests listing notification channel on a bucket."""
# TODO(b/132277269): Re-enable these once the service-side bug is fixed.
Expand Down
Loading