File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -387,6 +387,10 @@ def test_delete_notifications(self):
387387 def test_update_broadcasted_notification (self ):
388388 # WARNING: This test sends notifications
389389 # and only admins can send them
390+ if not self .gi .config .get_config ()["enable_notification_system" ]:
391+ self .skipTest ("This Galaxy instance is not configured to use notifications." )
392+ if not self .gi .users .get_current_user ()["is_admin" ]:
393+ self .skipTest ("This tests requires the current user to be an admin, which is not the case." )
390394
391395 # Broadcast a notification
392396 created_response = self ._send_test_broadcast_notification (
Original file line number Diff line number Diff line change @@ -17,3 +17,4 @@ galaxy:
1717 master_api_key : $BIOBLEND_GALAXY_MASTER_API_KEY
1818 enable_quotas : true
1919 cleanup_job : onsuccess
20+ enable_notification_system : true
You can’t perform that action at this time.
0 commit comments