Skip to content

Commit

Permalink
Add pytest_addhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Mar 6, 2018
1 parent 8b7e6df commit 69d49f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/en/reference.rst
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions doc/en/writing_plugins.rst
Expand Up @@ -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
Expand Down

0 comments on commit 69d49f1

Please sign in to comment.