Fix mistake in TestAPI.test_send_broadcast #1684

Merged
g1itch merged 1 commits from api into v0.6 2020-10-29 12:55:03 +01:00
Showing only changes of commit b650e97edc - Show all commits

View File

@ -279,8 +279,8 @@ class TestAPI(TestAPIProto):
status = self.api.getStatus(ackdata)
if status == 'notfound':
raise KeyError
self.assertIn(
status, ('broadcastqueued', 'broadcastsent', 'doingmsgpow'))
self.assertIn(status, (
'doingbroadcastpow', 'broadcastqueued', 'broadcastsent'))
# Find the message and its ID in sent
for m in json.loads(self.api.getAllSentMessages())['sentMessages']:
if m['ackData'] == ackdata: