From 4e0bb8d4242c2de20159fdb0baba534bb22d59d5 Mon Sep 17 00:00:00 2001 From: azv Date: Wed, 13 Mar 2019 08:38:54 +0300 Subject: [PATCH] Update tests for export to GEOM according to the Python dump change. --- src/ConnectorAPI/Test/TestExportToGEOM.py | 4 +++- src/ConnectorAPI/Test/TestExportToGEOMAllGroupsAndFields.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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 -- 2.39.2