I'm not entirely sure of the cause of the failure. Any chance you could point me at a place to look at your code, and I'll see if I can find the answer?
On Wed, Jan 20, 2010 at 5:12 PM, Daishy <[email protected]> wrote: > Hi there, > > I'm currently trying to set up my testing files for a new webapp. The > tests for the authentication are running without problems, but as soon > as i try to write a controller that should test a method restricted by > authentication, i get a 'AppError: Bad response: 401 Unauthorized (not > 200 OK or 3xx redirect for http://localhost/)' error, despite using > the auto-generated test.ini file with auth disabled. My test.ini looks > as following (where ; is actually \n): > > [DEFAULT] > debug = true; smtp_server = localhost; error_email_from = > pa...@localhost > [server:main] > use = egg:Paste#http; host = 0.0.0.0; port = 5000 > > [app:main] > use = config:development.ini > > [app:main_without_authn] > use = main;skip_authentication = True > > > Did i miss anything, or is it just not working yet? > (And if there is any other file-content i should post, please tell > me :) ) > > Greetings, > Daishy > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<turbogears%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/turbogears?hl=en. > > > > -- Michael J. Pedersen My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171 Yahoo/pedermj2002, MSN/[email protected]--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

