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():