You might take a look at twill (http://twill.idyll.org/) - Although I
find it a tad trickier to get rolling with than Selenium, it has the
functionality that you want (emulating a browser, including cookies)
and can be 'programmed' to walk to an OpenID login site and back again
following redirects. You can think of it as a more complex/complete
version of the test client in Django.

If that doesn't suit, consider one of the browser automation engines -
Pamie, Samie, or Watir. Given that you're programming python already,
Pamie (http://pamie.sourceforge.net/) is probably of more interest.
It's basically driving "IE" on windows through it's COM interface.

-joe



On 5/29/07, Almad <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'd like to ask about best testing practice. I'm looking at test
> client in SVN, which looks great for most of cases and I can get rid
> of Selenium (great tool, but slow). TestClient looks promising, but I
> don't knew how to authorize(), when site is only using OpenID login.
>
> Any suggestions? (I'd like to use as less workaround/hacks as
> possible)
>
> Thanks,
>
> Almad
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to