[py-dev] New plugin: pytest-timeout
flub at devork.be
Fri Mar 9 00:08:20 CET 2012
On 7 March 2012 21:55, holger krekel <holger at merlinux.eu> wrote:
> looking at version 0.1 i wonder why you didn't go with always activating
> the plugin so not requiring any pytest_plugins setting. The default
> could be "no timeout" or None which could be modified with:
> timeout = 2.3 # secs
This simply didn't occur to me, probably because personally I don't
install it but just have the module included in the root of our
project. Thanks for the idea.
> or with a marker. Not using some implicit magic number is anyway a good
> idea i think.
Not sure what you mean. Do you mean using 0 as saying "no timeout" is
a magic number but e.g. None is fine? Essentially anything else other
then a positive number is "disable timeout" to me.
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org
More information about the Pytest-dev