Update tests, don't double dispose the engine (#15587)

This commit is contained in:
Sebastián Ramírez
2026-05-23 19:02:16 +02:00
committed by GitHub
parent 3675137523
commit 00f805cec9
2 changed files with 0 additions and 4 deletions

View File

@@ -45,8 +45,6 @@ def get_client(request: pytest.FixtureRequest):
# Clean up connection explicitly to avoid resource warning
mod.engine.dispose()
mod.engine.dispose()
def test_crud_app(client: TestClient):
# TODO: this warns that SQLModel.from_orm is deprecated in Pydantic v1, refactor

View File

@@ -45,8 +45,6 @@ def get_client(request: pytest.FixtureRequest):
# Clean up connection explicitly to avoid resource warning
mod.engine.dispose()
mod.engine.dispose()
def test_crud_app(client: TestClient):
# TODO: this warns that SQLModel.from_orm is deprecated in Pydantic v1, refactor