From 2a0fa95cbacb758a0f25567766cf0fc0dbb36739 Mon Sep 17 00:00:00 2001 From: azv Date: Wed, 4 Mar 2020 09:59:21 +0300 Subject: [PATCH] Test HDF files: improve loading HDF files containing several Parts. --- test.hdfs/test_hdf.py | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.39.2