[py-dev] New plugin: pytest-timeout
Brack, Laurent P.
lpbrac at dolby.com
Fri Mar 9 01:28:14 CET 2012
Please be my guest and use it as we are using your code.
Thanks a lot for that plugin by the way.
From: floris.bruynooghe at gmail.com on behalf of Floris Bruynooghe
Sent: Thu 3/8/2012 2:49 PM
To: Brack, Laurent P.
Cc: Brard, Valentin; py-dev at codespeak.net
Subject: Re: [py-dev] New plugin: pytest-timeout
On 7 March 2012 20:56, Brack, Laurent P. <lpbrac at dolby.com> wrote:
> Somehow (and I don't know why), registering the plugin as 'timeout' instead
> of 'pytest_timeout' was the cause of the problem,
> so for it to work on my side, I had to do:
> config.pluginmanager.register(FaultHandlerPlugin(config), 'pytest_timeout')
Ah, I probably got something wrong with the setuptool entrypoints or
something. I'll look into it, thanks for finding this!
> I also played with the ability to use markers to override the default
> timeout at the test level (here is an excerpt of
> your code modified)
Thanks for this, I'll incorporate the timeout marker if you don't mind.
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pytest-dev