mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2026-05-09 18:27:56 +08:00
update browser
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import pytest
|
||||
import typing
|
||||
|
||||
if typing.TYPE_CHECKING:
|
||||
import sys
|
||||
sys.path.append('./src/plugins')
|
||||
import nonebot_hk_reporter
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@pytest.mark.render
|
||||
async def test_render(plugin_module: 'nonebot_hk_reporter'):
|
||||
render = plugin_module.utils.Render()
|
||||
res = await render.text_to_pic('a\nbbbbbbbbbbbbbbbbbbbbbb\ncd')
|
||||
print(res)
|
||||
Reference in New Issue
Block a user