Skip to content

Commit cc7c233

Browse files
committed
FIX: Fix test included in import fix
1 parent 19310f1 commit cc7c233

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/rms/test_rmsvolumetrics.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,10 @@ def test_importable_from_package_root() -> None:
290290
if "fmu.tools" in sys.modules:
291291
del sys.modules["fmu.tools"]
292292

293-
with mock.patch.dict(sys.modules, {"rmsapi": None}):
293+
with (
294+
mock.patch.dict(sys.modules, {"rmsapi": None}),
295+
mock.patch.dict(sys.modules, {"roxar": None}),
296+
):
294297
try:
295298
from fmu.tools import volumetrics # noqa
296299
except ImportError:

0 commit comments

Comments
 (0)