shaikshakeel commented on a change in pull request #5694: [AIRFLOW-5082] add
subject in aws sns hook
URL: https://github.com/apache/airflow/pull/5694#discussion_r335828794
##########
File path: tests/contrib/hooks/test_aws_sns_hook.py
##########
@@ -42,9 +42,10 @@ def test_publish_to_target(self):
message = "Hello world"
topic_name = "test-topic"
+ subject = "test-subject"
target = hook.get_conn().create_topic(Name=topic_name).get('TopicArn')
- response = hook.publish_to_target(target, message)
+ response = hook.publish_to_target(target, message, subject)
Review comment:
yes, @RosterIn will add today.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services