Cisco Webex Teams (wxteams://) Life Cycle Support (#819)

This commit is contained in:
Chris Caron
2023-02-12 14:15:23 -05:00
committed by GitHub
parent 078ee799b0
commit b5a9c25e86
2 changed files with 18 additions and 5 deletions

View File

@ -57,11 +57,23 @@ apprise_url_tests = (
# Our expected url(privacy=True) startswith() response:
'privacy_url': 'wxteams://a...a/',
}),
('webex://{}'.format('a' * 140), {
# token provided - we're good
'instance': NotifyWebexTeams,
# Our expected url(privacy=True) startswith() response:
'privacy_url': 'wxteams://a...a/',
}),
# Support Native URLs
('https://api.ciscospark.com/v1/webhooks/incoming/{}'.format('a' * 80), {
# token provided - we're good
'instance': NotifyWebexTeams,
}),
# Support New Native URLs
('https://webexapis.com/v1/webhooks/incoming/{}'.format('a' * 100), {
# token provided - we're good
'instance': NotifyWebexTeams,
}),
# Support Native URLs with arguments
('https://api.ciscospark.com/v1/webhooks/incoming/{}?format=text'.format(
'a' * 80), {