-----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/+package+/tests/__init__.py_tmpl#cl-128 And the environment binding is picked up in BaseController here: http://bitbucket.org/gjhiggins/shabti/src/tip/shabti/templates/auth/+package+/lib/base.py_tmpl#cl-84 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.
