refine teardown
All checks were successful
Backend CI / unit-test (push) Successful in 25s

This commit is contained in:
2025-09-14 21:09:26 +02:00
parent 2c22f20b48
commit 7041cc654e
3 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,6 @@ def engine() -> Generator[Engine, None, None]:
yield e
finally:
SQLModel.metadata.drop_all(e)
SQLModel.metadata.clear()
e.dispose()