From: azv Date: Fri, 15 Dec 2017 11:44:57 +0000 (+0300) Subject: Adjust test cases for Folder X-Git-Tag: V_2.10.0RC~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cb9b847be24baefa1805740c8e5b65356da5732a;p=modules%2Fshaper.git Adjust test cases for Folder --- 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())