From: azv Date: Wed, 4 Mar 2020 06:59:21 +0000 (+0300) Subject: Test HDF files: improve loading HDF files containing several Parts. X-Git-Tag: V9_5_0a2~60 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2a0fa95cbacb758a0f25567766cf0fc0dbb36739;p=modules%2Fshaper.git Test HDF files: improve loading HDF files containing several Parts. --- diff --git a/test.hdfs/test_hdf.py b/test.hdfs/test_hdf.py index 1ae49db9c..618eb048a 100644 --- a/test.hdfs/test_hdf.py +++ b/test.hdfs/test_hdf.py @@ -65,6 +65,10 @@ class TestHDF(unittest.TestCase): aPartFeature = PartSetAPI.PartSetAPI_Part(self.partSet.currentFeature(True)) aPartsList["Part_{}".format(aPartIndex+1)] = aPartFeature + self.session.startOperation() + self.session.setActiveDocument(self.partSet) + self.session.finishOperation() + # check reference data exec(open(self.reffile, "rb").read(), globals(), aPartsList)