Add pytest_addhooks
This commit is contained in:
parent
8b7e6df73d
commit
69d49f18e9
|
@ -497,6 +497,7 @@ Initialization hooks
|
||||||
Initialization hooks called for plugins and ``conftest.py`` files.
|
Initialization hooks called for plugins and ``conftest.py`` files.
|
||||||
|
|
||||||
.. autofunction:: pytest_addoption
|
.. autofunction:: pytest_addoption
|
||||||
|
.. autofunction:: pytest_addhooks
|
||||||
.. autofunction:: pytest_configure
|
.. autofunction:: pytest_configure
|
||||||
.. autofunction:: pytest_unconfigure
|
.. autofunction:: pytest_unconfigure
|
||||||
|
|
||||||
|
|
|
@ -543,6 +543,7 @@ implemented by other plugins in order to alter behaviour or interact with
|
||||||
the new plugin:
|
the new plugin:
|
||||||
|
|
||||||
.. autofunction:: pytest_addhooks
|
.. autofunction:: pytest_addhooks
|
||||||
|
:noindex:
|
||||||
|
|
||||||
Hooks are usually declared as do-nothing functions that contain only
|
Hooks are usually declared as do-nothing functions that contain only
|
||||||
documentation describing when the hook will be called and what return values
|
documentation describing when the hook will be called and what return values
|
||||||
|
|
Loading…
Reference in New Issue