On Thu, Jul 2, 2009 at 2:17 PM, Yoz Grahame <[email protected]> wrote:

>
> At my company we're already successfully using the test client API for
> our unit tests. However, we'd like to use those same tests for
> integration tests in staging - i.e. making full HTTP calls over
> sockets through our full LB + Apache + mod_wsgi setup.
>
> Does anyone know of a client lib that exposes the same interface as
> the Django test client (so that we can keep using those same tests for
> local in-process testing) but talks full HTTP?
>
> -- Yoz
>
> >
>
Check out httplib2, it's the most popular library for making HTTP requests
in Python (there are like 3 seperate modules in the stdlib you can use for
it also, urllib, urllib2, and httplib, but I think httplib2 is best).

Alex

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to