perhaps I miss the point and I'm saying the obvious, but.. you get back a HTTP::Response object so why in your test you dont just craft a desired response? You can reuse some part of the original, succesful response to build up your mocked one if it is the case.
Sorry if I miss the point :)
L*
PS my kawasaki never timeout!
In reply to Re: Forcing WWW::Mechanize to timeout
by Discipulus
in thread Forcing WWW::Mechanize to timeout
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |