(self, item)
| 109 | |
| 110 | @pytest.hookimpl(hookwrapper=True) |
| 111 | def pytest_runtest_teardown(self, item): |
| 112 | logging = item.config.getoption("--extra-info") |
| 113 | if logging: |
| 114 | self.enable_logging(item) |
| 115 | yield |
| 116 | if logging: |
| 117 | self.disable_logging(item) |
| 118 | |
| 119 | la = LoggingAspect() |
| 120 | config.pluginmanager.register(la) |
nothing calls this directly
no test coverage detected