updated to work with Apprise v1.8.0

This commit is contained in:
Chris Caron
2024-05-11 18:08:07 -04:00
parent 135dd4e98d
commit 6e57e33b8f
6 changed files with 10 additions and 10 deletions

View File

@@ -33,7 +33,7 @@ import apprise
from inspect import cleandoc
# Grant access to our Notification Manager Singleton
N_MGR = apprise.NotificationManager.NotificationManager()
N_MGR = apprise.manager_plugins.NotificationManager()
class NotifyTests(SimpleTestCase):
@@ -1176,7 +1176,7 @@ class NotifyTests(SimpleTestCase):
assert mock_notify.call_count == 1
assert response['content-type'].startswith('text/html')
@mock.patch('apprise.plugins.NotifyEmail.NotifyEmail.send')
@mock.patch('apprise.plugins.email.NotifyEmail.send')
def test_notify_with_filters(self, mock_send):
"""
Test workings of APPRISE_DENY_SERVICES and APPRISE_ALLOW_SERVICES