]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/Test/TestFolder_Sketch.py
Salome HOME
updated copyright message
[modules/shaper.git] / src / ModelAPI / Test / TestFolder_Sketch.py
index ecaef91c0f50a562f190d668e4b465df03c117b0..581f1b3c97efc79bf9262e004f88452173315af3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2023  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -132,6 +132,10 @@ aFound = aPartDoc.findContainingFolder(Sketch_2.feature())
 assert(aFound[0].data().isEqual(aFolder.data()))
 assert(aFound[1] == 0)
 
+# check sketch is the last feature in the folder
+aLastFeature = Folder_2.lastVisibleFeature()
+assert(aLastFeature.getKind() == "Sketch")
+
 
 #=========================================================================
 # Test 3. Sketch could be removed from the folder