Thanks, Rick and Graham!

So Graham, I'm using your templates (shabti); I just inherit from
TestAuthenticatedController instead then, right?

On Aug 12, 5:41 pm, Graham Higgins <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 12 Aug 2010, at 20:49, waugust wrote:
>
> > What am I missing here? How do I mimic a logged in user when testing
> > my controllers?
>
> Example testauthcontroller here:
>
> http://bitbucket.org/gjhiggins/shabti/src/tip/shabti/templates/auth/+...
>
> And the environment binding is picked up in BaseController here:
>
> http://bitbucket.org/gjhiggins/shabti/src/tip/shabti/templates/auth/+...
>
> HTH
>
> - --
> Cheers,
>
> Graham
>
> http://www.linkedin.com/in/ghiggins
>
> -----BEGIN PGP SIGNATURE-----
>
> iEYEARECAAYFAkxklMIACgkQOsmLt1Nhivy5IgCbBt2XxbFT61jz4CO75UC/urvb
> C2sAniAIO9w2G6Ki2chPpFfIyEz9KznYiQCVAgUBTGSUwlnrWVZ7aXD1AQKm3AQA
> xIAxZeSMIzptUmpbH9O/eAYU0hUeNVEpDCzU4xjfAcCgmLTGn34vWzBax3G4pGLp
> KpfNTMwR1CCgfwfhhirUTN7But/5kogNtTohgdBepxsU03GOMxmCbgtWZJRUvG/H
> lma4npnXJUFjEqa3/paLN/sez+Ebx2AmppCX0R/18SA=
> =VoT/
> -----END PGP SIGNATURE-----

-- 
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.

Reply via email to