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

Avoid misuse of pytest.mark.xfail #466

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Conversation

berland
Copy link
Collaborator

@berland berland commented Oct 21, 2024

One should test that the code always fails in an expected manner, not letting it fail if the code so pleases.

One should test that the code always fails in an expected manner, not letting
it fail if the code so pleases.
@berland berland self-assigned this Oct 21, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.75%. Comparing base (474e161) to head (37e7237).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #466   +/-   ##
=======================================
  Coverage   98.75%   98.75%           
=======================================
  Files          17       17           
  Lines        2725     2725           
=======================================
  Hits         2691     2691           
  Misses         34       34           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

@sondreso sondreso left a comment

Choose a reason for hiding this comment

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

Nice!

@berland berland merged commit 60d8b64 into equinor:main Oct 23, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants