#8316 Summary vector names: Use stripped quantity name to find category

This commit is contained in:
Magne Sjaastad
2021-11-25 17:42:03 +01:00
parent 6b7916be8a
commit 6847e0573e
5 changed files with 39 additions and 19 deletions

View File

@@ -37,9 +37,9 @@ def test_summary_data(rips_instance, initialize_test):
assert summary_case.id == 1
addresses = summary_case.available_addresses()
# Summary reader type is controlled from Preferences. libecl reports 343 vectors, opm_common (ESMRY) reports 310.
# Summary reader type is controlled from Preferences. libecl reports 343 vectors, opm_common (ESMRY) reports 339.
# As this configuration can be different, allow both variants
assert len(addresses.values) == 343 or len(addresses.values) == 310
assert len(addresses.values) == 343 or len(addresses.values) == 339
summary_data = summary_case.summary_vector_values("FOPT")
assert len(summary_data.values) == 60