From 9141502ebe443316e9f608bdc2f732111a5bdc71 Mon Sep 17 00:00:00 2001 From: abondar Date: Fri, 19 Jul 2024 11:17:43 +0300 Subject: [PATCH] Fix test --- examples/fastapi/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/fastapi/main.py b/examples/fastapi/main.py index d11c77dbe..8c0febbbb 100644 --- a/examples/fastapi/main.py +++ b/examples/fastapi/main.py @@ -14,7 +14,7 @@ @asynccontextmanager async def lifespan_test(app: FastAPI) -> AsyncGenerator[None, None]: config = generate_config( - os.getenv("TORTOISE_TEST_DB", ""), + os.getenv("TORTOISE_TEST_DB", "sqlite://:memory:"), app_modules={"models": ["models"]}, testing=True, connection_label="models",