From: mpv Date: Fri, 6 Oct 2017 12:12:33 +0000 (+0300) Subject: Correction of test due to the fix of issue #2266 X-Git-Tag: V_2.9.0~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=101e4eef8f12a3f6dd521358e2fd63b11b6148d7;p=modules%2Fshaper.git Correction of test due to the fix of issue #2266 --- diff --git a/src/SketchPlugin/Test/Test1673.py b/src/SketchPlugin/Test/Test1673.py index ea06d67c0..6eea668e5 100644 --- a/src/SketchPlugin/Test/Test1673.py +++ b/src/SketchPlugin/Test/Test1673.py @@ -253,8 +253,11 @@ expectedTime = MOVE_BUILD_RATIO * sketchTime averageTime = 0 nbMoves = 0 -# Sketch is overconstrained, check the message -assert Sketch_1.solverError().value() != "", "FAILED: Sketch should report over-constrained situation" +# Two vertical constraints: due to #1889 the sketch is invalid now, not overconstrained +from ModelAPI import * +aFactory = ModelAPI_Session.get().validators() +assert(not aFactory.validate(SketchConstraintVertical_10.feature())) +#assert Sketch_1.solverError().value() != "", "FAILED: Sketch should report over-constrained situation" # Remove duplicated Vertical constraints Part_1_doc.removeFeature(SketchConstraintVertical_10.feature())