Joined: 12 Oct 2005 Posts: 972 Location: duisburg, germany
Posted: Wed 04 Jun, 2008 13:07 Post subject: unittest limits...
There exist some tests witch depends on the current used settings. To test all, we must switch some settings and reinit the django environment. But i don't know how we can do this
e.g. we have a dynamic url.py witch depends on settings.ENABLE_INSTALL_SECTION and settings.SERVE_STATIC_FILES
We can setup these variables on modul level in ./tests/url_patterns.py But then we can only test this one case and not both cases...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum