Add end-to-end notification worker tests for all notification methods

This commit is contained in:
Joseph Schorr 2017-07-14 20:51:08 +03:00
parent 348b544f23
commit 543cba352b
3 changed files with 56 additions and 6 deletions

View file

@ -40,7 +40,7 @@ class NotificationWorkerDataInterface(object):
pass
@abstractmethod
def create_notification_for_testing(self, target_username):
def create_notification_for_testing(self, target_username, method_name=None, method_config=None):
""" Creates a notification for testing. """
pass