Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
abondar committed Jul 19, 2024
1 parent 0d1bfc3 commit 9141502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/fastapi/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9141502

Please sign in to comment.