pytest-html
pytest-html copied to clipboard
Environment/metadata section no longer visible after pytest-metadata update to 3.0.0
pytest-metadata was bumped to 3.0.0:
https://pypi.org/project/pytest-metadata/#history
This changed the API for accessing and modifying the metadata object:
https://github.com/pytest-dev/pytest-metadata/compare/v2.0.4...master -> README.rst
With those changes, Environment section is no longer appearing in the htm report (tested on pytest-html 3.1.1 with pytest-metadata 3.0.0)
Also the documentation should be updated to reflect on the changes in pytest-metadata, as this:
is no longer possible
For now, my recommendation is to stay on v2 of metadata.
Once v4 of html is released (4.0.0rc4 available now) metadata will be bumped to v3 and docs updated.
Thanks for reporting!