mirror of
https://github.com/caronc/apprise.git
synced 2025-08-13 10:07:15 +02:00
Added deprecate and trace logging directives
This commit is contained in:
@ -48,6 +48,10 @@ def test_apprise_cli(tmpdir):
|
||||
# Pretend everything is okay
|
||||
return True
|
||||
|
||||
def url(self):
|
||||
# Support url()
|
||||
return ''
|
||||
|
||||
class BadNotification(NotifyBase):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(BadNotification, self).__init__(*args, **kwargs)
|
||||
@ -56,6 +60,10 @@ def test_apprise_cli(tmpdir):
|
||||
# Pretend everything is okay
|
||||
return False
|
||||
|
||||
def url(self):
|
||||
# Support url()
|
||||
return ''
|
||||
|
||||
# Set up our notification types
|
||||
SCHEMA_MAP['good'] = GoodNotification
|
||||
SCHEMA_MAP['bad'] = BadNotification
|
||||
|
Reference in New Issue
Block a user