Skip to content

Commit 028d3a9

Browse files
authored
Fix Warning Message for Skipped Test Due to Missing 'opm' Package (#480)
1 parent 01df857 commit 028d3a9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_wateroilgas.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ def test_not_threephase_consistency():
134134
assert not wog.threephaseconsistency()
135135

136136

137-
@pytest.mark.skipif(not HAVE_OPM, reason="ecl2df not installed")
137+
@pytest.mark.skipif(
138+
not HAVE_OPM, reason="Opm not installed. See https://pypi.org/project/opm/"
139+
)
138140
def test_parse_with_opm(tmp_path):
139141
"""Test that the SWOF+SGOF output from pyscal can be
140142
injected into a valid Eclipse deck"""

0 commit comments

Comments
 (0)