mirror of
https://github.com/caronc/apprise.git
synced 2025-08-13 18:17:12 +02:00
Cisco Webex Teams (wxteams://) Life Cycle Support (#819)
This commit is contained in:
@ -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), {
|
||||
|
Reference in New Issue
Block a user