Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b81fea
)
Test HDF files: improve loading HDF files containing several Parts.
author
azv
<azv@opencascade.com>
Wed, 4 Mar 2020 06:59:21 +0000
(09:59 +0300)
committer
azv
<azv@opencascade.com>
Wed, 4 Mar 2020 06:59:21 +0000
(09:59 +0300)
test.hdfs/test_hdf.py
patch
|
blob
|
history
diff --git
a/test.hdfs/test_hdf.py
b/test.hdfs/test_hdf.py
index 1ae49db9cd25b02d046d1ac666a1ce8c25ad7157..618eb048aeef7c6f30fb05a63f0069c1efd5e893 100644
(file)
--- 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)