On Jan 19, 12:46 pm, Landreville <[email protected]> wrote: > The sample application > athttps://bitbucket.org/Gustavo/whatpylonsproject/src/820ab774bfe6/pylo... > shows that all I need to do for functional tests to work is add > extra_environ={'REMOTE_USER': 'myusername'} > > I have tried this, but the response returns an unauthorized (401) > status. Is there another step that I must complete that is not > documented (well, even the remote user bit isn't documented, but at > least it is in the sample code) ?
Found it. In the setup_sql_auth call the keyword argument skip_authentication needs to be set to True. I had already looked at http://what.repoze.org/docs/plugins/quickstart/ but it does not list this as a valid argument; I guess it is a hidden feature. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
