fix test to trigger

This commit is contained in:
Matthias 2021-12-04 04:38:45 +01:00
parent 55ca284a13
commit 7016c253a8
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -41,7 +41,7 @@ class NotificationTests(BaseNotificationIntegrationTest):
METHOD_NAME = 'WrongImplementation1' METHOD_NAME = 'WrongImplementation1'
def get_targets(self): def get_targets(self):
return [] return [1, ]
with self.assertRaises(NotImplementedError): with self.assertRaises(NotImplementedError):
self._notification_run() self._notification_run()
@ -53,7 +53,7 @@ class NotificationTests(BaseNotificationIntegrationTest):
METHOD_NAME = 'WrongImplementation2' METHOD_NAME = 'WrongImplementation2'
def get_targets(self): def get_targets(self):
return [] return [1, ]
with self.assertRaises(NotImplementedError): with self.assertRaises(NotImplementedError):
self._notification_run() self._notification_run()