fix test_send

This commit is contained in:
felinae98
2022-02-13 20:45:09 +08:00
parent 6a8b2e2d15
commit 5217a2db9b
2 changed files with 2 additions and 3 deletions
+2
View File
@@ -46,4 +46,6 @@ async def test_send_queue(app: App):
"send_group_msg", {"group_id": "1233", "message": "msg"}, True
)
LAST_SEND_TIME = 0
await asyncio.sleep(2)
await do_send_msgs()
assert ctx.wait_list.empty()