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].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.


Reply via email to