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

Method enable_logging

python/src/deltachat/testplugin.py:88–93  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

86 acfactory.set_logging_default(False)
87
88 def enable_logging(self, item):
89 for acc in self._accounts:
90 acc.enable_logging()
91 acfactory = item.funcargs.get("acfactory")
92 if acfactory:
93 acfactory.set_logging_default(True)
94
95 @pytest.hookimpl(hookwrapper=True)
96 def pytest_runtest_setup(self, item):

Callers 3

pytest_runtest_setupMethod · 0.95
pytest_pyfunc_callMethod · 0.95

Calls 2

set_logging_defaultMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected