Allow two different counts for summary vector reader

This commit is contained in:
Magne Sjaastad 2021-08-04 18:57:45 +02:00
parent fc947558d5
commit 92bd783a10

View File

@ -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