Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
oddvarlia committed Dec 20, 2024
1 parent 335c54b commit e98d3d9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/rms/test_update_petro_real.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""

Expand All @@ -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,
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit e98d3d9

Please sign in to comment.