Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lack of rerun attribute on report since 4.2 version #77

Closed
RibeiroAna opened this issue Jan 5, 2019 · 3 comments
Closed

Lack of rerun attribute on report since 4.2 version #77

RibeiroAna opened this issue Jan 5, 2019 · 3 comments

Comments

@RibeiroAna
Copy link
Member

Some Pytest-HTML tests were failing since October and I realised that it was mainly because of that specific line:

test_index = hasattr(report, 'rerun') and report.rerun + 1 or 0

The problem is that until version 4.1, the report had a rerun attribute, but for some reason it was taken off in version 4.2. I wish that it could come back.

@RibeiroAna
Copy link
Member Author

@sallner before closing the issue, just one question: when do you intend to release version 6?

@sallner
Copy link
Member

sallner commented Jan 8, 2019

@RibeiroAna I will add some maintenance stuff and should cut a release later today.

@sallner
Copy link
Member

sallner commented Jan 8, 2019

The new release including a fix for this regression can be found here https://pypi.org/project/pytest-rerunfailures/6.0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants