mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
tests: Call real consume method of queue processors.
This switches to more real tests for a first batch of queue_json_publish() calls that don't cause trouble when used with call_consume_tests=True.
This commit is contained in:
@@ -353,7 +353,8 @@ def do_send_missedmessage_events_reply_in_zulip(user_profile, missed_messages, m
|
||||
'from_address': from_address,
|
||||
'reply_to_email': formataddr((reply_to_name, reply_to_address)),
|
||||
'context': context}
|
||||
queue_json_publish("missedmessage_email_senders", email_dict, send_email_from_dict)
|
||||
queue_json_publish("missedmessage_email_senders", email_dict, send_email_from_dict,
|
||||
call_consume_in_tests=True)
|
||||
|
||||
user_profile.last_reminder = timezone_now()
|
||||
user_profile.save(update_fields=['last_reminder'])
|
||||
|
||||
Reference in New Issue
Block a user