Pushover to support numerical priority values (#597)

This commit is contained in:
Chris Caron
2022-06-02 19:31:38 -04:00
committed by GitHub
parent 8ed4b7b72a
commit 463eb54897
2 changed files with 17 additions and 7 deletions

View File

@ -115,6 +115,10 @@ apprise_url_tests = (
('pover://%s@%s?priority=emergency' % ('u' * 30, 'a' * 30), {
'instance': plugins.NotifyPushover,
}),
# API Key + emergency(2) priority setting (via numeric value
('pover://%s@%s?priority=2' % ('u' * 30, 'a' * 30), {
'instance': plugins.NotifyPushover,
}),
# API Key + emergency priority setting with retry and expire
('pover://%s@%s?priority=emergency&%s&%s' % ('u' * 30,
'a' * 30,