mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-04 02:26:11 +08:00
✅ add flaky flag for send with queue
This commit is contained in:
parent
cd0a6088e6
commit
410cac1af3
@ -1,4 +1,5 @@
|
||||
import pytest
|
||||
from flaky import flaky
|
||||
from nonebot.adapters.onebot.v11.message import Message
|
||||
from nonebug import App
|
||||
|
||||
@ -28,6 +29,7 @@ async def test_send_no_queue(app: App):
|
||||
assert ctx.wait_list.empty()
|
||||
|
||||
|
||||
@flaky
|
||||
@pytest.mark.asyncio
|
||||
async def test_send_queue(app: App):
|
||||
import nonebot
|
||||
|
Loading…
x
Reference in New Issue
Block a user