mirror of
https://github.com/caronc/apprise.git
synced 2025-08-14 02:18:37 +02:00
PushMe Support Added (#928)
This commit is contained in:
@ -55,14 +55,28 @@ apprise_url_tests = (
|
||||
'privacy_url': 'pushme://a...a/',
|
||||
}),
|
||||
# Token specified
|
||||
('pushme://?token=%s' % ('b' * 6), {
|
||||
('pushme://?token=%s&status=yes' % ('b' * 6), {
|
||||
'instance': NotifyPushMe,
|
||||
|
||||
# Our expected url(privacy=True) startswith() response:
|
||||
'privacy_url': 'pushme://b...b/',
|
||||
}),
|
||||
# Status setting
|
||||
('pushme://?token=%s&status=no' % ('b' * 6), {
|
||||
'instance': NotifyPushMe,
|
||||
|
||||
# Our expected url(privacy=True) startswith() response:
|
||||
'privacy_url': 'pushme://b...b/',
|
||||
}),
|
||||
# Status setting
|
||||
('pushme://?token=%s&status=True' % ('b' * 6), {
|
||||
'instance': NotifyPushMe,
|
||||
|
||||
# Our expected url(privacy=True) startswith() response:
|
||||
'privacy_url': 'pushme://b...b/',
|
||||
}),
|
||||
# Token specified
|
||||
('pushme://?push_key=%s' % ('p' * 6), {
|
||||
('pushme://?push_key=%s&status=no' % ('p' * 6), {
|
||||
'instance': NotifyPushMe,
|
||||
|
||||
# Our expected url(privacy=True) startswith() response:
|
||||
|
Reference in New Issue
Block a user