From 3b3b44889b2472a41f45b4b2c2df2574b8082ab1 Mon Sep 17 00:00:00 2001 From: "mark.tian" Date: Wed, 3 Dec 2025 12:26:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=B8=8D=E7=94=A8sqlite?= =?UTF-8?q?=EF=BC=8C=E6=94=B9=E4=B8=BApostgresql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conftest.py b/conftest.py index da3e6d5..a5b446f 100644 --- a/conftest.py +++ b/conftest.py @@ -5,7 +5,7 @@ from sqlalchemy.ext.asyncio import create_async_engine, AsyncSession from sqlalchemy.orm import sessionmaker # 测试数据库配置 -TEST_DATABASE_URL = "sqlite+aiosqlite:///./test.db" +TEST_DATABASE_URL = "postgresql+asyncpg://postgres:12345@localhost:5432/test_ai_talk_callback" @pytest.fixture(scope="session") def event_loop():