monasca-notification/tests
Koji Nakazono 4cfcf0803f Fix slack notification
This patch fixes 2 issues in slack notification.
First, incoming webhook supports the JSON request, however Slack
API to post a message to chat doesn't support JSON request.
Change to use "data" for posting a message to chat.
Second, incoming webhook returns the response as text.
Change to check the content type of response before parsing it.

Change-Id: Ic81cc1d99496774a16f91569022d5e4fe0aff795
Story: 2001041
Task: 4597
2017-07-25 15:17:19 +09:00
..
resources Add unit test for Jira 2017-07-19 16:58:24 +09:00
__init__.py Added a simple unit test and the test framework 2014-03-20 09:52:19 -06:00
test_alarm_processor.py Add config option for statsd 2016-12-02 07:10:52 +01:00
test_email_notification.py Add unit test for Jira 2017-07-19 16:58:24 +09:00
test_hipchat_notification.py Enable Py35 tests to run 2017-04-07 19:15:10 +00:00
test_jira_notification.py Add unit test for Jira 2017-07-19 16:58:24 +09:00
test_mysql_repo.py Query database to see if the periodic notificiation changes 2016-08-29 15:11:20 -06:00
test_notification.py Query database to see if the periodic notificiation changes 2016-08-29 15:11:20 -06:00
test_notification_processor.py Add config option for statsd 2016-12-02 07:10:52 +01:00
test_notifiers.py Remove plugins from possible notifiers 2017-01-24 06:46:12 +01:00
test_orm_repo.py Add unit test for Jira 2017-07-19 16:58:24 +09:00
test_pagerduty_notification.py Enable Py35 tests to run 2017-04-07 19:15:10 +00:00
test_slack_notification.py Fix slack notification 2017-07-25 15:17:19 +09:00
test_utils.py Add config option for statsd 2016-12-02 07:10:52 +01:00
test_webhook_notification.py Make monasca-notification Py35 compatible 2017-07-18 13:31:41 +02:00