How to test urllib|urllib2-using code?
kj
no.email at please.post
Thu Nov 5 10:15:56 EST 2009
In <hcs1r2$vgp$1 at online.de> Lutz Horn <lutz.horn at fastmail.fm> writes:
>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
Thanks, that helped.
kynn
More information about the Python-list
mailing list