Closed MikeTheCanuck closed 7 years ago
Zak reports:
"Hey Mike, Thanks for checking back in. Originally I was using a local copy of the db and testing off that. I think it was a permissions issue with the AWS stuff that wouldn't let the Django user delete the testing db after it ran. Dan tweaked the homelessness_user permissions yesterday and it seems to be working now."
No reason to keep this issue open.
Zak Kent from the Homelessness team has been experimenting with Django + AWS + testing, and he reported an unexpected issue he's been running into just now.
As I remember the problem statement, he's running "python manage.py test [app_name]" and all the tests run fine but at the stage where everything gets destroyed, he's seeing the database doesn't get destroyed. Which means he has to remember to destroy it manually the next time he goes to run tests.
Seems like something we ought to be able to help out with.