wth clear its better to pytest
All checks were successful
checks-impure / test (pull_request) Successful in 31s
checks / test (pull_request) Successful in 3m24s

This commit is contained in:
Georg-Stahn
2023-12-04 22:14:24 +01:00
parent ae35c25f91
commit cfa16ba76b

View File

@@ -35,7 +35,7 @@ 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.drop_all(engine)
sql_models.Base.metadata.create_all(bind=engine)
app = FastAPI(lifespan=lifespan)