[py-dev] conftest setting option_tbstyle doesn't work?
Brianna Laugher
brianna.laugher at gmail.com
Thu Jul 7 02:35:38 CEST 2011
On 6 July 2011 18:13, holger krekel <holger at merlinux.eu> wrote:
> Hum, can you try adding/using an .ini file with an "addopts" value
> liek "--tb=short" like described here:
>
> http://doc.pytest.org/en/latest/customize.html?highlight=addopts#adding-default-options
>
> this should work with pytest-2.0 and above. In fact, the tbstyle is not
> configurable from conftest.py files anymore from the 2.0 version on.
Ah, thanks. I didn't catch on to the fact that that had changed.
Adding the pytest.ini works. And it even works on the 1.3.4 version as well. :)
cheers
Brianna
More information about the Pytest-dev
mailing list