Fixture to capture and provide log output.
(caplog)
| 120 | |
| 121 | @pytest.fixture |
| 122 | def capture_logs(caplog): |
| 123 | """Fixture to capture and provide log output.""" |
| 124 | import logging |
| 125 | caplog.set_level(logging.DEBUG) |
| 126 | return caplog |
| 127 | |
| 128 | # Command line options |
| 129 | def pytest_addoption(parser): |
nothing calls this directly
no outgoing calls
no test coverage detected