X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test.hdfs%2Ftest_hdf.py;h=b58ea3b838ef5b39dfdd3e35d9917a70c5145b57;hb=792ace721bcaf8b0126696821df7522044ef657e;hp=1ae49db9cd25b02d046d1ac666a1ce8c25ad7157;hpb=c3ab717c0948990a44a320f2650a43282f8af377;p=modules%2Fshaper.git diff --git a/test.hdfs/test_hdf.py b/test.hdfs/test_hdf.py index 1ae49db9c..b58ea3b83 100644 --- a/test.hdfs/test_hdf.py +++ b/test.hdfs/test_hdf.py @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2019 CEA/DEN, EDF R&D +# Copyright (C) 2014-2020 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -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)