Added deprecate and trace logging directives

This commit is contained in:
Chris Caron
2019-04-04 23:50:30 -04:00
parent 02dd6dd8b3
commit de5c5e4331
18 changed files with 269 additions and 69 deletions

View File

@ -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