Add pytest_addhooks

This commit is contained in:
Bruno Oliveira 2018-03-01 17:55:45 -03:00
parent 8b7e6df73d
commit 69d49f18e9
2 changed files with 2 additions and 0 deletions

View File

@ -497,6 +497,7 @@ Initialization hooks
Initialization hooks called for plugins and ``conftest.py`` files.
.. autofunction:: pytest_addoption
.. autofunction:: pytest_addhooks
.. autofunction:: pytest_configure
.. autofunction:: pytest_unconfigure

View File

@ -543,6 +543,7 @@ implemented by other plugins in order to alter behaviour or interact with
the new plugin:
.. autofunction:: pytest_addhooks
:noindex:
Hooks are usually declared as do-nothing functions that contain only
documentation describing when the hook will be called and what return values