ari-denary / volunteer-management-backend

API to integrate data for a Health Clinic managing volunteer hours.
MIT License
3 stars 0 forks source link

Determine source of Integrity error for drop_all in tests #26

Open ari-denary opened 1 year ago

ari-denary commented 1 year ago

When running tests with Flask-SQL alchemy's drop_all() method at the start of the file, receiving an Integrity Error due to relationship between Experience and User.

Temporarily solved by dropping Experience model manually before calling drop_all(), but need to dig in further to find a longer-term solution.