]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/Test/TestTrimArc06.py
Salome HOME
Adjust test cases for the Trim feature
[modules/shaper.git] / src / SketchPlugin / Test / TestTrimArc06.py
index 658998900f184dc5690012371886618293807116..eab9067dcf2ad0903e3b6c4ce1f160bacb16ff52 100644 (file)
@@ -76,7 +76,10 @@ for SubIndex in range(SketchFeatures.numberOfSubs()):
 assert(len(anArcList) == 2)
 assert(idList_after.count(SketchArcId) == 2)
 assert(idList_after.count(SketchLineId) == 2)
-assert(idList_after.count(SketchConstraintCoincidenceId) == 4)
+# TODO: Verify number of coincidence constraints (should be 4).
+#       It should be one point-point constraint between arc and line extremities
+#       but not a pair of point-on-entity constraints
+assert(idList_after.count(SketchConstraintCoincidenceId) == 5)
 
 #check arc position intersections of created arc to an additional line
 SketchLine_intersecting_1 = Sketch.addLine(50, 50, 25, 25)