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 4, 2023
1 parent b97d1da commit cda09c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
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 cda09c4

Please sign in to comment.