diff --git a/tools/test-backend b/tools/test-backend index 661b80c1ea..c1aafa9e6a 100755 --- a/tools/test-backend +++ b/tools/test-backend @@ -37,6 +37,7 @@ target_fully_covered = {path for target in [ # Once we have a nice negative tests system, we can add these: # 'zerver/webhooks/*/*.py', # 'zerver/webhooks/*/*/*.py', + 'zerver/worker/queue_processor.py', ] for path in glob.glob(target)} not_yet_fully_covered = { diff --git a/zerver/worker/queue_processors.py b/zerver/worker/queue_processors.py index f5fbd6448f..e28fb821a7 100644 --- a/zerver/worker/queue_processors.py +++ b/zerver/worker/queue_processors.py @@ -322,7 +322,7 @@ class MissedMessageSendingWorker(EmailSendingWorker): # nocoverage pass @assign_queue('missedmessage_mobile_notifications') -class PushNotificationsWorker(QueueProcessingWorker): +class PushNotificationsWorker(QueueProcessingWorker): # nocoverage def consume(self, data): # type: (Mapping[str, Any]) -> None handle_push_notification(data['user_profile_id'], data) @@ -430,7 +430,7 @@ class MessageSenderWorker(QueueProcessingWorker): respond_send_message) @assign_queue('digest_emails') -class DigestWorker(QueueProcessingWorker): +class DigestWorker(QueueProcessingWorker): # nocoverage # Who gets a digest is entirely determined by the enqueue_digest_emails # management command, not here. def consume(self, event):