ashb commented on a change in pull request #6364: [AIRFLOW-5693] Support the 
"blocks" component for the Slack messages
URL: https://github.com/apache/airflow/pull/6364#discussion_r336595294
 
 

 ##########
 File path: tests/contrib/hooks/test_slack_webhook_hook.py
 ##########
 @@ -35,6 +35,7 @@ class TestSlackWebhookHook(unittest.TestCase):
         'webhook_token': 'manual_token',
         'message': 'Awesome message to put on Slack',
         'attachments': [{'fallback': 'Required plain-text summary'}],
+        'blocks': [{'type': 'section', 'text': {'type': 'mrkdwn', 'text': 
'*bold text*'}}],
 
 Review comment:
   You make an excelent point :D

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to