[py-dev] py.test doctest and hooks...

Christian Klinger cklinger at novareto.de
Wed Jan 19 14:43:22 CET 2011


Hello,

are there any hooks in pytest which are executed before doctests are 
executed?
I try to setup some stuff, which i want to hide in the doctest.

I already tried some "normal" pytest hooks ala:

- pytest_runtest_call(item):- pytest_runtest_setup(item): But none of 
them seems to be executed on doctest execution. Any ideas? Christian




More information about the Pytest-dev mailing list