]> SALOME platform Git repositories - modules/shaper.git/blobdiff - test.hdfs/test_hdf.py
Salome HOME
Test HDF files: improve loading HDF files containing several Parts.
[modules/shaper.git] / test.hdfs / test_hdf.py
index 1ae49db9cd25b02d046d1ac666a1ce8c25ad7157..618eb048aeef7c6f30fb05a63f0069c1efd5e893 100644 (file)
@@ -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)