allure-python icon indicating copy to clipboard operation
allure-python copied to clipboard

Fix integration for Allure and pytest_bdd when test parameter is dict

Open elchupanebrej opened this issue 3 years ago • 2 comments

Context

When do allure serve on the next generated report https://gist.github.com/elchupanebrej/4b1d78096ac181ef56edd9b1a1549f57

Allure fails: https://gist.github.com/elchupanebrej/e753d7d1005c811ff616417ae625df51

This happens because of dangerous serialization at

data = asdict(item, filter=lambda attr, value: not (type(value) != bool and not bool(value)))

Checklist

elchupanebrej avatar May 10 '22 18:05 elchupanebrej

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 10 '22 18:05 CLAassistant

@sseliverstov please review

elchupanebrej avatar Jul 24 '22 09:07 elchupanebrej