pytest-dev / pytest-bdd

BDD library for the py.test runner
https://pytest-bdd.readthedocs.io/en/latest/
MIT License
1.3k stars 219 forks source link

fix target fixture registration post pytest 8.1 #690

Closed dcendents closed 1 week ago

dcendents commented 4 months ago

fixes #689

Added a test to replicate the issue. Simply used the same logic pre pytest 8.1 but ajusted the paratemers to create the FixtureDef with expected values post 8.1

dcendents commented 4 months ago

AFAIK the build is fine, the error is out of my control and the failure cancelled the other threads:

[2024-05-10T16:18:47.078Z] ['error'] There was an error running the uploader: Error uploading to [https://codecov.io:](https://codecov.io/) Error: There was an error fetching the storage URL during POST: 429 - {'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 563s.', code='throttled')}
youtux commented 1 week ago

Superseded by https://github.com/pytest-dev/pytest-bdd/pull/700.

Thank you for your effort though, especially the test that reproduced the issue (I copied it into my PR).