update browser

This commit is contained in:
felinae98
2021-07-06 20:01:34 +08:00
parent 9270f01843
commit 10a2fbfa27
8 changed files with 58 additions and 22 deletions
+14
View File
@@ -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)