Fix statuses for sendBroadcast
This commit is contained in:
parent
c18b544732
commit
b650e97edc
|
@ -279,8 +279,8 @@ class TestAPI(TestAPIProto):
|
||||||
status = self.api.getStatus(ackdata)
|
status = self.api.getStatus(ackdata)
|
||||||
if status == 'notfound':
|
if status == 'notfound':
|
||||||
raise KeyError
|
raise KeyError
|
||||||
self.assertIn(
|
self.assertIn(status, (
|
||||||
status, ('broadcastqueued', 'broadcastsent', 'doingmsgpow'))
|
'doingbroadcastpow', 'broadcastqueued', 'broadcastsent'))
|
||||||
# Find the message and its ID in sent
|
# Find the message and its ID in sent
|
||||||
for m in json.loads(self.api.getAllSentMessages())['sentMessages']:
|
for m in json.loads(self.api.getAllSentMessages())['sentMessages']:
|
||||||
if m['ackData'] == ackdata:
|
if m['ackData'] == ackdata:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user