from app.db.connection import get_connection

def test_db():
    conn = get_connection()
    cursor = conn.cursor()
    cursor.execute("SHOW TABLES;")
    tables = cursor.fetchall()
    print("Tables dans la DB :", tables)
    conn.close()

if __name__ == "__main__":
    test_db()
