def pytest_runtest_makereport(item, call): report = _makereport(item, call) report.keywords = list([m.name for m in item.iter_markers()]) return report
def pytest_runtest_makereport(item, call): report = _makereport(item, call) report.keywords = dict(item.keywords) return report