X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSketchPlugin%2FTest%2FTestFilletInteracting.py;h=5026f5385824b3271a90affc8d1562f26c428a74;hb=28038c772769f15a06376fa01d55529e7daa1aa9;hp=0b0de7d7845d4fcb7b5b46d0aee88ea1e796ec28;hpb=faaea2f382805c9a5eb6d1e98a9e10354f62be5d;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/Test/TestFilletInteracting.py b/src/SketchPlugin/Test/TestFilletInteracting.py index 0b0de7d78..5026f5385 100644 --- a/src/SketchPlugin/Test/TestFilletInteracting.py +++ b/src/SketchPlugin/Test/TestFilletInteracting.py @@ -173,9 +173,10 @@ class TestFilletInteracting(unittest.TestCase): self.checkNbFeatures("SketchConstraintTangent", 0) # no tangencies should not be created self.checkNbFeatures("SketchFillet", 1) # fillet feature should still exist. it should be wrong - model.testNbSubShapes(self.mySketch, GeomAPI_Shape.FACE, [0]) - model.testNbSubShapes(self.mySketch, GeomAPI_Shape.EDGE, [2]) - model.testNbSubShapes(self.mySketch, GeomAPI_Shape.VERTEX, [4]) + # sketch is invalid, so, no results at all + model.testNbSubShapes(self.mySketch, GeomAPI_Shape.FACE, []) + model.testNbSubShapes(self.mySketch, GeomAPI_Shape.EDGE, []) + model.testNbSubShapes(self.mySketch, GeomAPI_Shape.VERTEX, []) # remove fillet for correct python dump self.myDocument.removeFeature(aFillet.feature())