]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Update tests for export to GEOM according to the Python dump change.
authorazv <azv@opencascade.com>
Wed, 13 Mar 2019 05:38:54 +0000 (08:38 +0300)
committerazv <azv@opencascade.com>
Wed, 13 Mar 2019 05:38:54 +0000 (08:38 +0300)
src/ConnectorAPI/Test/TestExportToGEOM.py
src/ConnectorAPI/Test/TestExportToGEOMAllGroupsAndFields.py

index 631a08c27a4793b1611bea0e8204bdb566b79496..0c861488789319ee50c85366fec7de3ce75cf282 100644 (file)
@@ -59,7 +59,9 @@ def dumpShaper(fileName):
   dump=model.moduleDocument().addFeature("Dump")
   dump.string("file_path").setValue(fileName)
   dump.string("file_format").setValue("py")
-  dump.string("selection_type").setValue("topological_naming")
+  dump.boolean("topological_naming").setValue(True)
+  dump.boolean("geometric_selection").setValue(False)
+  dump.boolean("weak_naming").setValue(False)
   model.do()
   model.end()
   pass
index 0b552dcb1b488b9ec69c41494e77f1143fe6af08..416d2ad5f1881c8c6efc008b6bb8785de948a4f0 100644 (file)
@@ -63,7 +63,9 @@ def dumpShaper(fileName):
   dump=model.moduleDocument().addFeature("Dump")
   dump.string("file_path").setValue(fileName)
   dump.string("file_format").setValue("py")
-  dump.string("selection_type").setValue("topological_naming")
+  dump.boolean("topological_naming").setValue(True)
+  dump.boolean("geometric_selection").setValue(False)
+  dump.boolean("weak_naming").setValue(False)
   model.do()
   model.end()
   pass