I use postgres database dbapp I am trying to make splinter tests and want to run them over the 2nd database dbapp_tests.
First attempt I made with starting Web2py on different port, :8001, then I detect the port from request object and I create db= choosing from 2 different appconfig.ini settings: uri=, uri_tests= However when I switch to the testing database (which is empty include the auth_user table) I am logged in "thanks" the session: auth.user and auth.user_id are set ! Can I avoid this, without deleting sessions for the normal work? I have ideas for some workarounds, like: - populate testing db with single auth_user row (mine...) - move sessions into database But I ask, if somebody has idea how to switch both databases more clever. Thnak you... -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.