← Back to team overview

launchpad-dev team mailing list archive

Re: New feature in Launchpad TestCase base class

 

On Tue, 27 Jul 2010 04:14:40 James Westby wrote:
> On Mon, 26 Jul 2010 11:32:38 -0400, Aaron Bentley <aaron@xxxxxxxxxxxxx> 
wrote:
> > Are you handling cases where the test reconfigures the oops handler or
> > uses its own instead of the global?
> 
> I don't know, Tim?

If the test reconfigures the oops handler, the original function won't be 
called, so the event won't be raised, and the event listener won't be fired.

So... if the oops handler function is monkey patched, the test case won't 
know.

Tim



References