From b650e97edc2ae0f54964536549a648bc6b2e6260 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Mon, 26 Oct 2020 12:52:14 +0200 Subject: [PATCH] Fix statuses for sendBroadcast --- src/tests/test_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/test_api.py b/src/tests/test_api.py index 5dee2684..e3756f54 100644 --- a/src/tests/test_api.py +++ b/src/tests/test_api.py @@ -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: