georgs5 (#31)
All checks were successful
assets1 / test (push) Successful in 23s
checks-impure / test (push) Successful in 32s
checks / test (push) Successful in 1m13s

Reviewed-on: #31
This commit was merged in pull request #31.
This commit is contained in:
Georg-Stahn
2023-12-04 22:22:22 +01:00
parent f3096075d2
commit 171582e2e7
4 changed files with 104 additions and 4 deletions

View File

@@ -33,6 +33,8 @@ async def lifespan(app: FastAPI) -> Any:
def setup_app() -> FastAPI:
# bind sql engine
# TODO comment aut and add flag to run with pupulated data rm *.sql run pytest with marked then start clan webui
# https://docs.pytest.org/en/7.1.x/example/markers.html
sql_models.Base.metadata.drop_all(engine)
sql_models.Base.metadata.create_all(bind=engine)