Skip to content

Commit

Permalink
Fix integration tests for gendata_rft
Browse files Browse the repository at this point in the history
Recent changes to gui requires integrations tests to be updated. (certain buttons and labels have been rephrased from simulation to experiment)
  • Loading branch information
jonathan-eq committed Aug 3, 2023
1 parent b97d1da commit 5f9a04f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/jobs/rft/test_gendata_rft.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 5f9a04f

Please sign in to comment.