Skip to content

Commit

Permalink
fix: mock wait process complete in tests (#1)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <[email protected]>
  • Loading branch information
dbluhm authored Nov 8, 2022
1 parent 595ebf3 commit abb2e4a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def receive_message(
message: InboundMessage,
can_respond: bool = False,
):
message.wait_processing_complete = async_mock.CoroutineMock()
self.message_results.append((message.payload, message.receipt, can_respond))
if self.result_event:
self.result_event.set()
Expand Down

0 comments on commit abb2e4a

Please sign in to comment.