From: azv Date: Mon, 14 Jan 2019 07:22:56 +0000 (+0300) Subject: Issue #2376: update test case X-Git-Tag: Jan2019~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=77f0cc50c0edec98a3e816013d5a8034377b4c58;p=modules%2Fshaper.git Issue #2376: update test case --- diff --git a/src/SketchPlugin/CMakeLists.txt b/src/SketchPlugin/CMakeLists.txt index 4d399b188..86fc7c4ad 100644 --- a/src/SketchPlugin/CMakeLists.txt +++ b/src/SketchPlugin/CMakeLists.txt @@ -181,6 +181,7 @@ ADD_UNIT_TESTS( Test2280.py Test2287.py Test2341.py + Test2376.py Test2390.py Test2393.py Test2425.py diff --git a/src/SketchPlugin/Test/Test2376.py b/src/SketchPlugin/Test/Test2376.py index 98fd0413c..5a2673964 100644 --- a/src/SketchPlugin/Test/Test2376.py +++ b/src/SketchPlugin/Test/Test2376.py @@ -42,9 +42,7 @@ model.checkSketch(Sketch_1, SKETCH_DOF) # add one more distance constraint, DoF should be the same SketchConstraintDistance_2 = Sketch_1.setDistance(SketchLine_1.startPoint(), SketchLine_2.result(), 25, True) model.do() -model.checkSketch(Sketch_1, SKETCH_DOF) -# TODO: following line should be uncommented when PlanGCS will be able to determine over-constraint in this case -#assert Sketch_1.solverError().value() != "", "FAILED: Sketch should report over-constrained situation" +assert Sketch_1.solverError().value() != "", "FAILED: Sketch should report over-constrained situation" # remove last constraint partSet.removeFeature(SketchConstraintDistance_2.feature())