]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/Test/TestFolder_Sketch.py
Salome HOME
Improve code coverage metrics.
[modules/shaper.git] / src / ModelAPI / Test / TestFolder_Sketch.py
index ecaef91c0f50a562f190d668e4b465df03c117b0..0918ddaec0175632007a8a4484c58a3778d51d4e 100644 (file)
@@ -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