generated from Luis/nextjs-python-web-template
wth clear its better to pytest
This commit is contained in:
@@ -35,7 +35,7 @@ def setup_app() -> FastAPI:
|
|||||||
# bind sql engine
|
# bind sql engine
|
||||||
# TODO comment aut and add flag to run with pupulated data rm *.sql run pytest with marked then start clan webui
|
# 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
|
# 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)
|
sql_models.Base.metadata.create_all(bind=engine)
|
||||||
|
|
||||||
app = FastAPI(lifespan=lifespan)
|
app = FastAPI(lifespan=lifespan)
|
||||||
|
|||||||
Reference in New Issue
Block a user