nvbn / django-bower

Easy way to use bower with your django project
https://django-bower.readthedocs.io/
518 stars 74 forks source link

Tests delete project folder if you are unlucky #7

Closed htch closed 10 years ago

htch commented 10 years ago

Hi,

I had BOWER_COMPONENTS_ROOT set to '' (empty string), which worked fine until now. Running all django-bower tests (while running all tests available with ./manage.py run) resulted in it deleting the project folder entirely, so all the un-pushed changes were gone. I think this is the culprit: https://github.com/nvbn/django-bower/blob/master/djangobower/tests/base.py#L15

I guess this corner case should be treated.

nvbn commented 10 years ago

Hi, sorry, i fixed it.