Bitmessage / PyBitmessage

Reference client for Bitmessage: a P2P encrypted decentralised communication protocol:
https://bitmessage.org/wiki/Main_Page
Other
2.83k stars 576 forks source link

WIP: Fix failures of test_send_broadcast() in test_api #2171

Closed PeterSurda closed 9 months ago

PeterSurda commented 10 months ago

Hi!

I believe that I fixed a bug in test_send_broadcast() causing failures like this:

Traceback (most recent call last):
 File "pybitmessage/tests/test_api.py", line 402, in test_send_broadcast
 self.api.getAllSentMessageIds())['sentMessageIds'])
AssertionError: {'msgid': u'5605772eeac74553a27187dd5b3ab9b7'} not found in [{u'msgid': u'f65e7d168f2f4b51b690b07684bd7b15'}, {u'msgid': u'dfbe7c3e3925e83575dd7f9332b811b6ee4ca3c01347896cec3a1d5a5ab1cb88'}]

But there is another interesting exception, related to the previous PR.