import typing import pytest from httpx import AsyncClient from nonebug.app import App @pytest.mark.asyncio @pytest.mark.render async def test_render(app: App): from nonebot_plugin_saa import Image from nonebot_bison.plugin_config import plugin_config from nonebot_bison.utils import parse_text plugin_config.bison_use_pic = True res = await parse_text( """a\nbbbbbbbbbbbbbbbbbbbbbb\ncd