bot services: Use call_consume_in_tests.

This commit is contained in:
derAnfaenger
2017-10-18 19:51:27 +02:00
committed by Tim Abbott
parent 0473692abd
commit ce4ba9c178
2 changed files with 8 additions and 7 deletions

View File

@@ -1178,7 +1178,8 @@ def do_send_messages(messages_maybe_none):
"user_profile_id": event["user_profile_id"],
"failed_tries": 0,
},
lambda x: None
lambda x: None,
call_consume_in_tests=True
)
# Note that this does not preserve the order of message ids