From 77f0cc50c0edec98a3e816013d5a8034377b4c58 Mon Sep 17 00:00:00 2001 From: azv Date: Mon, 14 Jan 2019 10:22:56 +0300 Subject: [PATCH] Issue #2376: update test case --- src/SketchPlugin/CMakeLists.txt | 1 + src/SketchPlugin/Test/Test2376.py | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) 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()) -- 2.39.2