MCPcopy Create free account
hub / github.com/pytest-dev/pytest / pytest_plugin_registered

Function pytest_plugin_registered

src/_pytest/hookspec.py:68–78  ·  view source on GitHub ↗

A new pytest plugin got registered. :param plugin: The plugin module or instance. :param pytest.PytestPluginManager manager: pytest plugin manager. .. note:: This hook is incompatible with ``hookwrapper=True``.

(
    plugin: "_PluggyPlugin", manager: "PytestPluginManager"
)

Source from the content-addressed store, hash-verified

66
67@hookspec(historic=True)
68def pytest_plugin_registered(
69 plugin: "_PluggyPlugin", manager: "PytestPluginManager"
70) -> None:
71 """A new pytest plugin got registered.
72
73 :param plugin: The plugin module or instance.
74 :param pytest.PytestPluginManager manager: pytest plugin manager.
75
76 .. note::
77 This hook is incompatible with ``hookwrapper=True``.
78 """
79
80
81@hookspec(historic=True)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected