From e98d3d9dd12e015c3327540c2ebeadf9bba8d48e Mon Sep 17 00:00:00 2001 From: "Oddvar Lia (ST MSU GEO)" Date: Fri, 20 Dec 2024 18:08:56 +0100 Subject: [PATCH] update --- tests/rms/test_update_petro_real.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/rms/test_update_petro_real.py b/tests/rms/test_update_petro_real.py index 56877c2f..6d3e7a6d 100644 --- a/tests/rms/test_update_petro_real.py +++ b/tests/rms/test_update_petro_real.py @@ -3,8 +3,7 @@ Creates a tmp RMS project in given version. -This requires a ROXAPI license, and to be ran in a "roxenvbash" environment; hence -the decorator "roxapilicense" +This requires a RMSAPI license, and to be ran in a "roxenvbash" environment """ @@ -18,8 +17,8 @@ import xtgeo # type: ignore with contextlib.suppress(ImportError): - import roxar # type: ignore - import roxar.jobs # type: ignore + import rmsapi # type: ignore + from fmu.tools.rms.update_petro_real import ( export_initial_field_parameters, @@ -245,10 +244,10 @@ def create_project(): print("Remove existing project! (1)") shutil.rmtree(prj1) - project = roxar.Project.create() + project = rmsapi.Project.create() rox = xtgeo.RoxUtils(project) - print("Roxar version is", rox.roxversion) + print("rmsapi version is", rox.roxversion) print("RMS version is", rox.rmsversion(rox.roxversion)) assert "1." in rox.roxversion