From: azv Date: Wed, 13 Mar 2019 05:38:54 +0000 (+0300) Subject: Update tests for export to GEOM according to the Python dump change. X-Git-Tag: V9_3_0b1~3^2~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4e0bb8d4242c2de20159fdb0baba534bb22d59d5;p=modules%2Fshaper.git Update tests for export to GEOM according to the Python dump change. --- diff --git a/src/ConnectorAPI/Test/TestExportToGEOM.py b/src/ConnectorAPI/Test/TestExportToGEOM.py index 631a08c27..0c8614887 100644 --- a/src/ConnectorAPI/Test/TestExportToGEOM.py +++ b/src/ConnectorAPI/Test/TestExportToGEOM.py @@ -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 diff --git a/src/ConnectorAPI/Test/TestExportToGEOMAllGroupsAndFields.py b/src/ConnectorAPI/Test/TestExportToGEOMAllGroupsAndFields.py index 0b552dcb1..416d2ad5f 100644 --- a/src/ConnectorAPI/Test/TestExportToGEOMAllGroupsAndFields.py +++ b/src/ConnectorAPI/Test/TestExportToGEOMAllGroupsAndFields.py @@ -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