def test_get_notification_subject_edited(self) -> None:
     """
     Test successful executed of get_notification_subject for the METADATA_EDITED notification type
     :return:
     """
     result = get_notification_subject(notification_type=NotificationType.METADATA_EDITED,
                                       options={'resource_name': 'testtable'})
     self.assertEqual(result, 'Your dataset testtable\'s metadata has been edited')
 def test_get_notification_subject_requested(self) -> None:
     """
     Test successful executed of get_notification_subject for the METADATA_REQUESTED notification type
     :return:
     """
     result = get_notification_subject(notification_type=NotificationType.METADATA_REQUESTED,
                                       options={'resource_name': 'testtable'})
     self.assertEqual(result, 'Request for metadata on testtable')
 def test_get_notification_subject_removed(self) -> None:
     """
     Test successful executed of get_notification_subject for the OWNER_REMOVED notification type
     :return:
     """
     result = get_notification_subject(notification_type=NotificationType.OWNER_REMOVED,
                                       options={'resource_name': 'testtable'})
     self.assertEqual(result, 'You have been removed as an owner of testtable')