import typing import pytest from nonebug.app import App if typing.TYPE_CHECKING: import sys sys.path.append("./src/plugins") import nonebot_bison @pytest.mark.asyncio @pytest.mark.render async def test_render(app: App): from nonebot_bison.utils import Render render = Render() res = await render.text_to_pic( """a\nbbbbbbbbbbbbbbbbbbbbbb\ncd