-
-
Notifications
You must be signed in to change notification settings - Fork 894
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test client [call]back returning (#732)
If you preinitialize all the test clients, you won't get the server acknowledgements because only last initialized test client's monkeypatched successfully _send_packet, with self in its closure. So when other test client instances check self.ack is None when callback=True in emit(), it doesn't contain the ack meant for them.
- Loading branch information
1 parent
d8688bd
commit 4b0648c
Showing
2 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters