[Web-SIG] Dealing with urllib, urllib2, and urlparse

Fred Drake fdrake at gmail.com
Fri Feb 22 19:45:51 CET 2008


On Fri, Feb 22, 2008 at 11:00 AM, Joe Gregorio <joe at bitworking.org> wrote:
>  Many unit tests done in unittest. They fall into
>  two categories, those that run locally and those
>  that run against a set of URIs on the web. Is there
>  a stdlib way of segregating those tests? All the
>  code for the resources is also checked into
>  subversion:
>
>  http://httplib2.googlecode.com/svn/trunk/test/

See test.test_support.is_resource_enabled().  You probably care about
the 'network' resource.

>  >  * Full documentation ready to go in the proper format.
>
>  Done.
>
>  http://bitworking.org/projects/httplib2/ref/

This looks like you used the old LaTeX format; there's a new format
starting with Python 2.6:

  http://docs.python.org/dev/documenting/index.html


 -Fred

-- 
Fred L. Drake, Jr. <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller


More information about the Web-SIG mailing list