Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindeide committed Oct 2, 2024
1 parent 82c8427 commit 14cf5cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion tests/ert/unit_tests/config/observations_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,10 @@ def observations(draw, ensemble_keys, summary_keys, std_cutoff, start_date):
st.builds(
HistoryObservation,
error=st.floats(
min_value=std_cutoff, allow_nan=False, allow_infinity=False
min_value=std_cutoff,
max_value=1e20,
allow_nan=False,
allow_infinity=False,
),
segment=st.lists(
st.builds(
Expand Down
2 changes: 1 addition & 1 deletion tests/ert/unit_tests/config/test_ert_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ def test_that_creating_ert_config_from_dict_is_same_as_from_file(
@pytest.mark.integration_test
@pytest.mark.filterwarnings("ignore::ert.config.ConfigWarning")
@pytest.mark.usefixtures("set_site_config")
@settings(max_examples=10)
@settings(max_examples=20)
@given(config_generators())
def test_that_ert_config_is_serializable(tmp_path_factory, config_generator):
filename = "config.ert"
Expand Down

0 comments on commit 14cf5cd

Please sign in to comment.