Slack <!channel|desc> & <!channel> support added (#856)

This commit is contained in:
Chris Caron
2023-03-24 06:00:34 -04:00
committed by GitHub
parent 6144a79513
commit be174c374f
2 changed files with 28 additions and 1 deletions

View File

@ -680,6 +680,10 @@ def test_plugin_slack_markdown(mock_get, mock_post):
<https://slack.com?arg=val&arg2=val2|Slack Link>.
We also want to be able to support <https://slack.com> links without the
description.
Channel Testing
<!channelA>
<!channelA|Description>
""")
# Send our notification
@ -700,4 +704,5 @@ def test_plugin_slack_markdown(mock_get, mock_post):
"of it's\nmarkdown.\n\nThis one has arguments we want to preserve:"\
"\n <https://slack.com?arg=val&arg2=val2|Slack Link>.\n"\
"We also want to be able to support <https://slack.com> "\
"links without the\ndescription."
"links without the\ndescription."\
"\n\nChannel Testing\n<!channelA>\n<!channelA|Description>"