From: mpv Date: Fri, 11 Jan 2019 14:10:40 +0000 (+0300) Subject: Fix for the issue #2836 : Test2409.py is not tested and not up-to-date X-Git-Tag: Jan2019~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c5ee923561d6b28a44cbd216a63df8a2d55a1100;p=modules%2Fshaper.git Fix for the issue #2836 : Test2409.py is not tested and not up-to-date --- diff --git a/src/BuildPlugin/CMakeLists.txt b/src/BuildPlugin/CMakeLists.txt index ac7d138a2..e1a122a09 100644 --- a/src/BuildPlugin/CMakeLists.txt +++ b/src/BuildPlugin/CMakeLists.txt @@ -129,6 +129,7 @@ ADD_UNIT_TESTS(TestVertex.py TestFilling_ErrorMsg.py Test1920.py Test2398.py + Test2409.py Test2415.py Test2439.py Test2454.py diff --git a/src/BuildPlugin/Test/Test2409.py b/src/BuildPlugin/Test/Test2409.py index 2056fd386..208ab31e8 100644 --- a/src/BuildPlugin/Test/Test2409.py +++ b/src/BuildPlugin/Test/Test2409.py @@ -44,12 +44,12 @@ SketchConstraintHorizontal_2 = Sketch_1.setHorizontal(SketchLine_3.result()) SketchConstraintVertical_2 = Sketch_1.setVertical(SketchLine_4.result()) model.do() -Filling_1 = model.addFilling(Part_1_doc, [model.selection("EDGE", "Sketch_1/Edge-SketchLine_2")]) +Filling_1 = model.addFilling(Part_1_doc, [model.selection("EDGE", "Sketch_1/SketchLine_2")]) model.do() # check error is reported assert(Filling_1.feature().error() != "") -Filling_1.setBase([model.selection("EDGE", "Sketch_1/Edge-SketchLine_2"), model.selection("EDGE", "Sketch_1/Edge-SketchLine_4")]) +Filling_1.setBase([model.selection("EDGE", "Sketch_1/SketchLine_2"), model.selection("EDGE", "Sketch_1/SketchLine_4")]) model.do() # check there is no error assert(Filling_1.feature().error() == "")