MCPcopy Create free account
hub / github.com/chatmail/core / pytest_pyfunc_call

Method pytest_pyfunc_call

python/src/deltachat/testplugin.py:105–108  ·  view source on GitHub ↗
(self, pyfuncitem)

Source from the content-addressed store, hash-verified

103
104 @pytest.hookimpl(hookwrapper=True)
105 def pytest_pyfunc_call(self, pyfuncitem):
106 self.enable_logging(pyfuncitem)
107 yield
108 self.disable_logging(pyfuncitem)
109
110 @pytest.hookimpl(hookwrapper=True)
111 def pytest_runtest_teardown(self, item):

Callers

nothing calls this directly

Calls 2

enable_loggingMethod · 0.95
disable_loggingMethod · 0.95

Tested by

no test coverage detected