test db setup

This commit is contained in:
2026-09-04 15:34:02 +02:00
parent 923074fcf8
commit 153820772a
5 changed files with 67 additions and 5 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/python
from sqlalchemy import inspect
from sqlalchemy.orm import Session
def test_db_reachable_and_not_empty(db_session: Session):
inspector = inspect(db_session.get_bind())
tables = inspector.get_table_names()
assert tables