Add custom sound support to Pushover (#843)

This commit is contained in:
cdkl
2023-07-01 12:50:06 -04:00
committed by GitHub
parent 276da2ef79
commit f1d0e9b5ec
2 changed files with 5 additions and 6 deletions

View File

@ -60,9 +60,9 @@ apprise_url_tests = (
('pover://%s' % ('a' * 30), {
'instance': TypeError,
}),
# API Key + invalid sound setting
('pover://%s@%s?sound=invalid' % ('u' * 30, 'a' * 30), {
'instance': TypeError,
# API Key + custom sound setting
('pover://%s@%s?sound=mysound' % ('u' * 30, 'a' * 30), {
'instance': NotifyPushover,
}),
# API Key + valid alternate sound picked
('pover://%s@%s?sound=spacealarm' % ('u' * 30, 'a' * 30), {