Skip to content

Fix Warning Message for Skipped Test Due to Missing 'opm' Package - #480

Merged
alifbe merged 2 commits into
equinor:mainfrom
bartekvik:issue_opm
Sep 5, 2025
Merged

Fix Warning Message for Skipped Test Due to Missing 'opm' Package#480
alifbe merged 2 commits into
equinor:mainfrom
bartekvik:issue_opm

Conversation

@bartekvik

Copy link
Copy Markdown
Collaborator

Summary:
This PR addresses the issue with the skipped test in tests/test_wateroilgas.py. The test was being skipped with the message: "ecl2df not installed." This was misleading because the test's functionality depends on the opm package, not ecl2df.

Changes Made:
The warning message has been modified to: "opm not installed. See https://pypi.org/project/opm/" providing clearer guidance to developers and users regarding the dependency required to run the test successfully.

Testing:
The modified warning message has been tested to ensure that it now correctly informs users about the missing opm package when the test is skipped.

@codecov-commenter

codecov-commenter commented Aug 12, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.75%. Comparing base (dfeb5aa) to head (259b1fc).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #480   +/-   ##
=======================================
  Coverage   98.75%   98.75%           
=======================================
  Files          17       17           
  Lines        2723     2723           
=======================================
  Hits         2689     2689           
  Misses         34       34           

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

@alifbe alifbe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good to me 👍

@alifbe
alifbe merged commit 028d3a9 into equinor:main Sep 5, 2025
8 checks passed
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.

3 participants