From cda09c477d81322ee48a3b745015aeac55ce1425 Mon Sep 17 00:00:00 2001 From: Jonathan Karlsen Date: Wed, 2 Aug 2023 15:43:20 +0200 Subject: [PATCH] Fix integration tests for gendata_rft Recent changes to gui requires integrations tests to be updated. (certain buttons and labels have been rephrased from simulation to experiment) --- setup.py | 2 +- tests/jobs/rft/test_gendata_rft.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 3d567ac2..5cf0c220 100755 --- a/setup.py +++ b/setup.py @@ -52,7 +52,7 @@ ], install_requires=[ "ecl", - "ert>=5.1.0-b7", + "ert>=5.1.0-b8", "configsuite>=0.6", "numpy", "pandas>1.3.0", diff --git a/tests/jobs/rft/test_gendata_rft.py b/tests/jobs/rft/test_gendata_rft.py index f1107020..61783742 100644 --- a/tests/jobs/rft/test_gendata_rft.py +++ b/tests/jobs/rft/test_gendata_rft.py @@ -574,7 +574,7 @@ def test_ert_setup_one_well_one_rft_point(tmpdir): # The purpose of the test is to demonstrate and run through the GEN_DATA # forward model without errors, but it will fail in the update step as this # test is not constructed for that: - assert "Simulations failed" in stdouterr + assert "Experiment failed" in stdouterr # Asserts on GENDATA_RFT output: assert Path("realization-0/iter-0/RFT_OP_1_1").is_file() @@ -688,7 +688,7 @@ def test_ert_setup_one_well_two_points_different_time_and_depth(tmpdir): # forward model without errors, but it will fail in the update step as this # test is not constructed for that: assert "No active observations" in stdouterr - assert "Simulations failed" in stdouterr + assert "Experiment failed" in stdouterr # Asserts on GENDATA_RFT output: assert Path("realization-0/iter-0/gendata_rft/RFT_OP_1_1").is_file()