You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pytest-bdd==3.2.0 and pytest-play installed in same python environment (no relevant pytest-play version, tested with 2.3.1 version for sake of completeness)
How to reproduce:
run pytest on a project with a pytest-play scenario
Expected result:
test run without errors
Actual result:
see error log
...
INTERNALERROR> File "/usr/local/lib/python3.7/site-packages/pytest_bdd/plugin.py", line 104, in item_key
INTERNALERROR> pytest_bdd_counter = getattr(item.function, '__pytest_bdd_counter__', 0)
INTERNALERROR> AttributeError: 'YAMLItem' object has no attribute 'function'
You can find all details and versions pinned here:
Is it possible to be compatible with non-python pytest items?
All fine with previous pytest-bdd version instead (3.1.1 is ok).
The text was updated successfully, but these errors were encountered:
davidemoro
changed the title
pytest-bdd==3.2.0 breaks pytest-play (or any other non python approach)
pytest-bdd==3.2.0 breaks pytest-play (or any other non python pytest items)
Aug 20, 2019
Preconditions:
How to reproduce:
Expected result:
Actual result:
You can find all details and versions pinned here:
Is it possible to be compatible with non-python pytest items?
All fine with previous pytest-bdd version instead (3.1.1 is ok).
The text was updated successfully, but these errors were encountered: