From cb9b847be24baefa1805740c8e5b65356da5732a Mon Sep 17 00:00:00 2001 From: azv Date: Fri, 15 Dec 2017 14:44:57 +0300 Subject: [PATCH] Adjust test cases for Folder --- src/ModelAPI/Test/TestFolder_Create.py | 3 --- src/ModelAPI/Test/TestFolder_Stability.py | 4 ---- 2 files changed, 7 deletions(-) diff --git a/src/ModelAPI/Test/TestFolder_Create.py b/src/ModelAPI/Test/TestFolder_Create.py index 36d429a6a..ad9631455 100644 --- a/src/ModelAPI/Test/TestFolder_Create.py +++ b/src/ModelAPI/Test/TestFolder_Create.py @@ -103,6 +103,3 @@ assert(aPartDoc.size("Folders") == 1), "Wrong number of folders: {}".format(aPar assert(aPartDoc.size("Features") == 2), "Wrong number of features: {}".format(aPartDoc.size("Features")) FOLDER_NAME_EXPECTED = "Folder_1" assert(aFolder2.name() == FOLDER_NAME_EXPECTED), "Actual name '{}', expected '{}'".format(aFolder2.name(), FOLDER_NAME_EXPECTED) - -from salome.shaper import model -assert(model.checkPythonDump()) diff --git a/src/ModelAPI/Test/TestFolder_Stability.py b/src/ModelAPI/Test/TestFolder_Stability.py index bbd867cd0..e6cdbe893 100644 --- a/src/ModelAPI/Test/TestFolder_Stability.py +++ b/src/ModelAPI/Test/TestFolder_Stability.py @@ -92,7 +92,3 @@ assert(isAdded) NB_FEATURES_OUT -= 1 assert(aPartDoc.size("Features", True) == NB_FEATURES_OUT), "Wrong number of features: {}, expected: {}".format(aPartDoc.size("Features", True), NB_FEATURES_OUT) assert(aPartDoc.size("Construction", True) == 1), "Wrong size: {}".format(aPartDoc.size("Construction", True)) - - -from salome.shaper import model -assert(model.checkPythonDump()) -- 2.39.2