From bc6575beaaaefe263fd1c88f8e8036f31e6b88b4 Mon Sep 17 00:00:00 2001 From: mpv Date: Thu, 27 Sep 2018 15:58:04 +0300 Subject: [PATCH] Make ExportToGEOM tests working on the current SALOME version --- src/ConnectorAPI/Test/TestExportToGEOM.py | 1 + src/ConnectorAPI/Test/TestExportToGEOMAllGroupsAndFields.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/ConnectorAPI/Test/TestExportToGEOM.py b/src/ConnectorAPI/Test/TestExportToGEOM.py index 98d9680b1..c5e567add 100644 --- a/src/ConnectorAPI/Test/TestExportToGEOM.py +++ b/src/ConnectorAPI/Test/TestExportToGEOM.py @@ -60,6 +60,7 @@ 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") model.do() model.end() pass diff --git a/src/ConnectorAPI/Test/TestExportToGEOMAllGroupsAndFields.py b/src/ConnectorAPI/Test/TestExportToGEOMAllGroupsAndFields.py index a93cabaea..ca2b9045a 100644 --- a/src/ConnectorAPI/Test/TestExportToGEOMAllGroupsAndFields.py +++ b/src/ConnectorAPI/Test/TestExportToGEOMAllGroupsAndFields.py @@ -64,6 +64,7 @@ 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") model.do() model.end() pass -- 2.39.2