[pytest-dev] How to determinate if test is skipped on runtest_teardown hook?

holger krekel holger at merlinux.eu
Thu Jan 2 21:14:38 CET 2014


Hi Anton,

please checkout the following example (and the one below it):

http://pytest.org/latest/example/simple.html#post-process-test-reports-failures

best,
holger

On Mon, Dec 30, 2013 at 10:36 +0200, Anton P wrote:
> Has anybody any ideas about this?
> 
> Thank you!
> Anton
> 
> 
> On Tue, Dec 24, 2013 at 8:09 PM, Anton P <anton7811 at gmail.com> wrote:
> 
> > Hi All,
> >
> > Is there is possibility to determinate if test is skipped or not on
> > pytest_runtest_teardown hook.
> > I can see skipif marker in item.keywords, but I don't know it's status.
> >
> > Thank you in advance!
> > Anton
> >

> _______________________________________________
> Pytest-dev mailing list
> Pytest-dev at python.org
> https://mail.python.org/mailman/listinfo/pytest-dev



More information about the Pytest-dev mailing list