On Sat, May 27, 2006 8:52 am, Kevin Dangoor wrote: > > On 5/23/06, Jason Chu <[EMAIL PROTECTED]> wrote: > >> Our application (http://oprius.com) uses identity extensively. I tried >> a couple different methods to do unit tests on everything (using twill >> and wsgi was working fine for one test/request per test module, but >> nothing more) but never found something that worked well enough. >> >> The problem that I can see with create_request is that I have to create >> cookies by hand (including authentication cookies). Do people just >> inject values into the visit table and then reference them in cookies or >> what? > > We could certainly make testing with identity easier. Just think of > how you'd like the API to be in the ideal case... would you want to pass > username/passwrod to create_request and have it basically log in and then > perform the request under test? > > Kevin
>From my preliminary research, if we made BrowserSession official, alongside the DBTest class, things would probably be pretty sweet. Jason --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

