How to test urllib|urllib2-using code?

Steven D'Aprano steven at REMOVE.THIS.cybersource.com.au
Wed Nov 4 18:47:52 EST 2009


On Wed, 04 Nov 2009 15:06:45 +0100, Lutz Horn wrote:

> Hi,
> 
> kj wrote:
>> I want to write some tests for code that uses both urllib and urllib2.
> 
> Take a look at the discussion under the title "How can one mock/stub
> python module like urllib" at stackoverflow:
> 
> http://stackoverflow.com/questions/295438/how-can-one-mock-stub-python-
module-like-urllib

Oh noes!!! Ur fragmenting teh python communities!!!!1!!! DO NOT WANT!!!


*grin*

(And for those who don't know what on earth I'm referring to, see the 
thread "Pyfora, a place for python".)



-- 
Steven



More information about the Python-list mailing list