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

Method disable_logging

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

Source from the content-addressed store, hash-verified

79 self._accounts.add(account)
80
81 def disable_logging(self, item):
82 for acc in self._accounts:
83 acc.disable_logging()
84 acfactory = item.funcargs.get("acfactory")
85 if acfactory:
86 acfactory.set_logging_default(False)
87
88 def enable_logging(self, item):
89 for acc in self._accounts:

Callers 4

pytest_runtest_setupMethod · 0.95
pytest_pyfunc_callMethod · 0.95
finalizeMethod · 0.45

Calls 2

set_logging_defaultMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected