stefanfoulis/django-filer — Issue #167: Running "./manage.py test" on a site with django-filer will delete all filer-uploaded files
Author: mstarinc
Created: 2012-01-31 17:23:28+00:00
State: open

I just ran "./manage.py test" on a website I'm developing, and suddenly found that all my images were missing, and in fact the whole my_site/site_media/media/filer/ folder had been deleted. I believe this is caused by line 35 of filer/tests/server_backends.py. Would it be possible to put a check on that unit test so it only happens if it is run inside the test application, and not on an end-user app?