I render some pdf from some templates in my project. Well, it seems to work, but…
…I wanna test it!
Problem is that some files I read during rendering are in STATIC_ROOT – so I need to collectstatic when I run tests (kinda wierd!).
Question is: is there a way to work with STATIC_ROOT during testing, but without ‘real’ collecting static?
I use following way. In you project directory create a file named
dev_static_finder.pywith these contents.Add this line to your
settings.pyI don’t know an easer way.