pytest-dev / pytest-timeout

MIT License
213 stars 64 forks source link

Simplify handling of `func_only` #133

Closed Jmennius closed 2 years ago

Jmennius commented 2 years ago

...by setting default on config file parsing level. pytest itself will validate that the value is a valid boolean, and if it is not set it will supply default False value. We later rely on this global default being always set and correct - falling back to it on test level.

This improves upon #122