From 5f9a04feb3e3f6513517b44a0cad27c23cc36277 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) --- tests/jobs/rft/test_gendata_rft.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()