Fix animation inconsistencies on pages with loading spinners
This commit is contained in:
14
backend/list_tests.py
Normal file
14
backend/list_tests.py
Normal file
@@ -0,0 +1,14 @@
|
||||
import asyncio
|
||||
from sqlmodel import create_engine, select, Session
|
||||
import sys
|
||||
sys.path.append('backend')
|
||||
import models
|
||||
|
||||
DATABASE_URL = "postgresql://pragativeer_admin:local_secure_password_2026@postgres:5432/pragativeer_prod"
|
||||
engine = create_engine(DATABASE_URL)
|
||||
|
||||
with Session(engine) as session:
|
||||
tests = session.exec(select(models.Test)).all()
|
||||
print(f"Total Tests: {len(tests)}")
|
||||
for t in tests:
|
||||
print(t.id, t.title)
|
||||
Reference in New Issue
Block a user