From 0e3e6ddc5f55868a13d76bf7edf1fe5b9e292999 Mon Sep 17 00:00:00 2001 From: uy_sun Date: Thu, 1 Aug 2024 20:39:56 +0800 Subject: [PATCH] =?UTF-8?q?:white=5Fcheck=5Fmark:=20=E9=98=B2=E6=AD=A2=20O?= =?UTF-8?q?RM=20=E5=9C=A8=E5=B9=B6=E5=8F=91=E6=B5=8B=E8=AF=95=E4=B8=AD?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/conftest.py b/tests/conftest.py index f31d282a9..8d297ca8e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -34,6 +34,7 @@ async def app(tmp_path: Path, request: pytest.FixtureRequest, mocker: MockerFixt sys.path.append(str(Path(__file__).parent.parent / "src" / "plugins")) nonebot.require("nonebot_bison") + mocker.patch("nonebot_plugin_orm._data_dir", tmp_path / "orm") from nonebot_plugin_orm import init_orm, get_session from nonebot_plugin_htmlrender.browser import shutdown_browser