fix minor typo in writing hook functions documentation
This commit is contained in:
parent
d5c62d0326
commit
a9a934e8ce
|
@ -261,9 +261,9 @@ and use pytest_addoption as follows:
|
||||||
|
|
||||||
def pytest_addhooks(pluginmanager):
|
def pytest_addhooks(pluginmanager):
|
||||||
""" This example assumes the hooks are grouped in the 'hooks' module. """
|
""" This example assumes the hooks are grouped in the 'hooks' module. """
|
||||||
from . import hook
|
from . import hooks
|
||||||
|
|
||||||
pluginmanager.add_hookspecs(hook)
|
pluginmanager.add_hookspecs(hooks)
|
||||||
|
|
||||||
|
|
||||||
def pytest_addoption(parser, pluginmanager):
|
def pytest_addoption(parser, pluginmanager):
|
||||||
|
|
Loading…
Reference in New Issue