FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

unittest limits...

 
Post new topic   Reply to topic    PyLucid - CMS - Forum Forum Index -> system
View previous topic :: View next topic  
Author Message
jens
Administrator


Joined: 12 Oct 2005
Posts: 972
Location: duisburg, germany

PostPosted: Wed 04 Jun, 2008 13:07    Post subject: unittest limits... Reply with quote

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 Sad

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...

I update the test, so it will test the current case: http://trac.pylucid.net/changeset/1624

EDIT: I add a ticked for v0.9: http://trac.pylucid.net/ticket/203

EDIT2: Other depends settings are: CACHE_BACKEND and DEBUG

edit3: For the CACHE_BACKEND thing: http://trac.pylucid.net/changeset/1625
_________________

http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PyLucid - CMS - Forum Forum Index -> system All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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

<< back to PyLucid CMS Homepage



Powered by phpBB © 2001, 2005 phpBB Group