parent
b63f6770a1
commit
3667086acc
|
@ -60,9 +60,17 @@ def pytest_addoption(parser):
|
||||||
|
|
||||||
@hookspec(historic=True)
|
@hookspec(historic=True)
|
||||||
def pytest_configure(config):
|
def pytest_configure(config):
|
||||||
""" called after command line options have been parsed
|
"""
|
||||||
and all plugins and initial conftest files been loaded.
|
Allows plugins and conftest files to perform initial configuration.
|
||||||
This hook is called for every plugin.
|
|
||||||
|
This hook is called for every plugin and initial conftest file
|
||||||
|
after command line options have been parsed.
|
||||||
|
|
||||||
|
After that, the hook is called for other conftest files as they are
|
||||||
|
imported.
|
||||||
|
|
||||||
|
:arg config: pytest config object
|
||||||
|
:type config: _pytest.config.Config
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Clarify ``pytest_configure`` hook call order.
|
Loading…
Reference in New Issue