miracle2k / django-assets

Django webassets integration.
BSD 2-Clause "Simplified" License
89 stars 79 forks source link

awkward to use during unit testing #14

Closed hexsprite closed 11 years ago

hexsprite commented 11 years ago

it's awkward to leave django_assets enabled for unit testing

you need to set settings.DEBUG=True so that it finds files in the app static directories

which means I need to override settings in all the functional tests

Maybe it's worth considering having some "testing" mode in django_assets that enables ASSETS_DEBUG and debug behaviour if Django is running unit tests?

hexsprite commented 11 years ago

oops, this is a dupe of #3