Skip to content

Commit

Permalink
Allow two different counts for summary vector reader
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj authored Aug 4, 2021
1 parent 5e9ec68 commit 3e4d07c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion GrpcInterface/Python/rips/tests/test_summary_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def test_summary_data(rips_instance, initialize_test):
assert summary_case.id == 1

addresses = summary_case.available_addresses()
assert len(addresses.values) == 343
# Summary reader type is controlled from Preferences. libecl reports 343 vectors, opm_common reports 361.
# As this configuration can be different, allow both variants
assert len(addresses.values) == 343 or len(addresses.values) == 361

summary_data = summary_case.summary_vector_values("FOPT")
assert len(summary_data.values) == 60
Expand Down

0 comments on commit 3e4d07c

Please sign in to comment.