Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

Commit

Permalink
Use the Charlesbot avatar in the Pagerduty plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinpinto committed Nov 12, 2015
1 parent bcdfc00 commit e030274
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charlesbot/plugins/pagerduty/pagerduty_helpers.py
Expand Up @@ -78,5 +78,5 @@ def send_oncall_response(slack_connection, schedules, channel_id):
attachments=attachment,
as_user=False,
username="Currently On-Call",
icon_url="https://slack.global.ssl.fastly.net/11699/img/services/pagerduty_48.png" # NOQA
icon_url="https://avatars.slack-edge.com/2015-07-31/8502215814_6662f69db3bed43d32e6_48.jpg" # NOQA
)
16 changes: 8 additions & 8 deletions tests/plugins/pagerduty/test_send_oncall_response.py
Expand Up @@ -39,7 +39,7 @@ def test_one_schedule_no_oncall_people(self):
attachments=attachment,
as_user=False,
username="Currently On-Call",
icon_url="https://slack.global.ssl.fastly.net/11699/img/services/pagerduty_48.png") # NOQA
icon_url="https://avatars.slack-edge.com/2015-07-31/8502215814_6662f69db3bed43d32e6_48.jpg") # NOQA
yield from self.send_response(self.slack_connection,
[pd_sched1],
"chan1")
Expand All @@ -61,7 +61,7 @@ def test_one_schedule_one_oncall_person(self):
attachments=attachment,
as_user=False,
username="Currently On-Call",
icon_url="https://slack.global.ssl.fastly.net/11699/img/services/pagerduty_48.png") # NOQA
icon_url="https://avatars.slack-edge.com/2015-07-31/8502215814_6662f69db3bed43d32e6_48.jpg") # NOQA
yield from self.send_response(self.slack_connection,
[pd_sched1],
"chan1")
Expand All @@ -85,7 +85,7 @@ def test_one_schedule_two_oncall_people(self):
attachments=attachment,
as_user=False,
username="Currently On-Call",
icon_url="https://slack.global.ssl.fastly.net/11699/img/services/pagerduty_48.png") # NOQA
icon_url="https://avatars.slack-edge.com/2015-07-31/8502215814_6662f69db3bed43d32e6_48.jpg") # NOQA
yield from self.send_response(self.slack_connection,
[pd_sched1],
"chan1")
Expand All @@ -107,7 +107,7 @@ def test_two_schedules_no_oncall_people(self):
attachments=attachment,
as_user=False,
username="Currently On-Call",
icon_url="https://slack.global.ssl.fastly.net/11699/img/services/pagerduty_48.png") # NOQA
icon_url="https://avatars.slack-edge.com/2015-07-31/8502215814_6662f69db3bed43d32e6_48.jpg") # NOQA
yield from self.send_response(self.slack_connection,
[pd_sched1, pd_sched2],
"chan1")
Expand All @@ -131,7 +131,7 @@ def test_two_schedules_one_oncall_person(self):
attachments=attachment,
as_user=False,
username="Currently On-Call",
icon_url="https://slack.global.ssl.fastly.net/11699/img/services/pagerduty_48.png") # NOQA
icon_url="https://avatars.slack-edge.com/2015-07-31/8502215814_6662f69db3bed43d32e6_48.jpg") # NOQA
yield from self.send_response(self.slack_connection,
[pd_sched1, pd_sched2],
"chan1")
Expand All @@ -155,7 +155,7 @@ def test_two_schedules_one_oncall_person_per_schedule(self):
attachments=attachment,
as_user=False,
username="Currently On-Call",
icon_url="https://slack.global.ssl.fastly.net/11699/img/services/pagerduty_48.png") # NOQA
icon_url="https://avatars.slack-edge.com/2015-07-31/8502215814_6662f69db3bed43d32e6_48.jpg") # NOQA
yield from self.send_response(self.slack_connection,
[pd_sched1, pd_sched2],
"chan1")
Expand All @@ -181,7 +181,7 @@ def test_two_schedules_two_oncall_people(self):
attachments=attachment,
as_user=False,
username="Currently On-Call",
icon_url="https://slack.global.ssl.fastly.net/11699/img/services/pagerduty_48.png") # NOQA
icon_url="https://avatars.slack-edge.com/2015-07-31/8502215814_6662f69db3bed43d32e6_48.jpg") # NOQA
yield from self.send_response(self.slack_connection,
[pd_sched1, pd_sched2],
"chan1")
Expand Down Expand Up @@ -209,7 +209,7 @@ def test_two_schedules_three_oncall_people(self):
attachments=attachment,
as_user=False,
username="Currently On-Call",
icon_url="https://slack.global.ssl.fastly.net/11699/img/services/pagerduty_48.png") # NOQA
icon_url="https://avatars.slack-edge.com/2015-07-31/8502215814_6662f69db3bed43d32e6_48.jpg") # NOQA
yield from self.send_response(self.slack_connection,
[pd_sched1, pd_sched2],
"chan1")
Expand Down

0 comments on commit e030274

Please sign in to comment.