On Fri, Feb 22, 2008 at 2:09 PM, Ian Bicking <[EMAIL PROTECTED]> wrote: > I guess this is a test-related feature request: something that would be > nice, and that I don't believe httplib2 specifically allows (though > maybe I am unaware of it) is a clear/documented way to mock http calls. > wsgi_intercept provides this in a kind of general way, and includes > some httplib2 support, but direct support in httplib2 (and the stdlib) > would be very nice, and I think encourage people to do better testing.
I have a MockHttp in another project that I use for testing code that uses httplib2, is this what you'd like to see included in httplib2 itself? http://code.google.com/p/feedvalidator/source/browse/trunk/apptestsuite/client/atompubbase/tests/mockhttp.py Thanks, -joe -- Joe Gregorio http://bitworking.org _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com