Skip to content

Add optional condition to marker #147

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

Merged
merged 1 commit into from
Dec 17, 2020

Conversation

BeyondEvil
Copy link
Contributor

The use case we have in pytest-html is that we have a test that is flaky only on Windows, so I'd like that test to re-run on the condition that it is running in a Windows environment.

@gnikonorov

@BeyondEvil BeyondEvil force-pushed the add-optional-condition branch 3 times, most recently from 86727d5 to 14e133c Compare December 12, 2020 23:59
Copy link
Member

@sallner sallner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution. I think, that the addition of this kind of condition is still within the scope of this package, although it overlaps somehow with the possibility to only rerun certain errors.

The only thing I really want to know is the intention of the warning, otherwise I like the PR.

@BeyondEvil BeyondEvil force-pushed the add-optional-condition branch 2 times, most recently from 91deb02 to 372a664 Compare December 14, 2020 16:27
@BeyondEvil BeyondEvil force-pushed the add-optional-condition branch from 372a664 to 4a120d5 Compare December 14, 2020 16:30
@BeyondEvil BeyondEvil requested a review from sallner December 14, 2020 16:32
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

Successfully merging this pull request may close these issues.

2 participants