py.test plugin to catch log messages. Forked from pytest-capturelog. Pull Requests are welcome!
report.sections
from the if report.longrepr
condition: https://github.com/davehunt/pytest-html/blob/0500aa622fab4e9bc6db671339bab347cb281d2b/pytest_html/plugin.py#L139-L142