FWIW, the patch has been merged in TG 1.0 stable branch.

Now your identity tests should be as simple as
fred = User.get(...)
testutil.set_identity_user(fred)
#use call/call_with_request()

See
http://maxischenko.in.ua/blog/entries/112/turbogears-identity-testing-hooks/
Max,


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