smarie / python-pytest-harvest

Store data created during your `pytest` tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes.
https://smarie.github.io/python-pytest-harvest/
BSD 3-Clause "New" or "Revised" License
62 stars 9 forks source link

results bags should be `@one_per_step` when pytest-steps is installed #16

Closed smarie closed 5 years ago

smarie commented 5 years ago

There seems to be an import error in the one_per_step inner function used by create_results_bag_fixture. This led the original @one_per_step from pytest-steps to never be used.

Therefore the results stored in results bags were always associated with the first step.