test_admin_can_create_class (test_app.DemoTests.test_admin_can_create_class) ... ok
test_capacity_cannot_be_exceeded (test_app.DemoTests.test_capacity_cannot_be_exceeded) ... ERROR
test_duplicate_booking_is_blocked (test_app.DemoTests.test_duplicate_booking_is_blocked) ... ok
test_regular_user_cannot_create_class (test_app.DemoTests.test_regular_user_cannot_create_class) ... ok

======================================================================
ERROR: test_capacity_cannot_be_exceeded (test_app.DemoTests.test_capacity_cannot_be_exceeded)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/data/vibe_coding_demo/tests/test_app.py", line 28, in test_capacity_cannot_be_exceeded
    con=app.db(); con.execute("INSERT INTO users(email,password,role) VALUES('luis@demo.local',app.hash_password('x'),'user')"); con.execute("INSERT INTO users(email,password,role) VALUES('marta@demo.local',app.hash_password('x'),'user')"); con.commit(); con.close()
                  ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: near "(": syntax error

----------------------------------------------------------------------
Ran 4 tests in 0.369s

FAILED (errors=1)
