#7929 Python : Avoid creation of new view when opening case

This commit is contained in:
Magne Sjaastad
2021-09-01 08:25:22 +02:00
committed by GitHub
parent 638f926429
commit be29b278f2
10 changed files with 56 additions and 30 deletions

View File

@@ -10,6 +10,7 @@ import dataroot
def test_10k(rips_instance, initialize_test):
case_path = dataroot.PATH + "/TEST10K_FLT_LGR_NNC/TEST10K_FLT_LGR_NNC.EGRID"
case = rips_instance.project.load_case(path=case_path)
case.create_view()
assert len(case.grids()) == 2
cell_count_info = case.cell_count()