Hi Holger,

Thank you for reply!

I need to know test result especially on teardown hook to determine if I
need to do some actions or not.
But I can use makereport hook to set some flag in pytest.config object and
verify it on teardown. As I found makereport is called before teardown.

Best regards,
Anton


On Thu, Jan 2, 2014 at 10:14 PM, holger krekel <[email protected]> wrote:

> 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 <[email protected]> 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
> > [email protected]
> > https://mail.python.org/mailman/listinfo/pytest-dev
>
>
_______________________________________________
Pytest-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to