Hi, This message was discarded by the maillist because you're not subscribed. I'm just reposting it for you to the list, I'm afraid I don't know much about repoze.who.testutil.
On Fri, 2010-08-13 at 19:30 -0700, waugust wrote: > Greetings, > > I'm using the shabti paster templates for a repoze auth'n'auth set up > on Pylons. > The templates preconfigure the set up with repoze.who_testutil. > > I've been struggling trying to get these tests to run. > The instructions for the testutil show that I just need to pass in the > REMOTE_USER dictionary in the enviorn: > response = self.app.get(url(controller='mycontroller', action='index', > extra_environ={'REMOTE_USER':'tester'})) > > Someone else on the Pylons bored told me to just create a > repoze.what.credentials dictionary with userid, groups, and > premissions keys. > > I'm chocking here... > On my controller I use the helper get_user to get a user instance > which keeps showing as None in the error stack... _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev