Salome HOME
Fix for the issue #2836 : Test2409.py is not tested and not up-to-date
authormpv <mpv@opencascade.com>
Fri, 11 Jan 2019 14:10:40 +0000 (17:10 +0300)
committermpv <mpv@opencascade.com>
Fri, 11 Jan 2019 14:10:40 +0000 (17:10 +0300)
src/BuildPlugin/CMakeLists.txt
src/BuildPlugin/Test/Test2409.py

index ac7d138a2689cc8451a73a684913c371ae130510..e1a122a0981503fab6543232e671f2955b1f37aa 100644 (file)
@@ -129,6 +129,7 @@ ADD_UNIT_TESTS(TestVertex.py
                TestFilling_ErrorMsg.py
                Test1920.py
                Test2398.py
+               Test2409.py
                Test2415.py
                Test2439.py
                Test2454.py
index 2056fd38645a29d3e7558a052cd91516434c496d..208ab31e86f09c2cb9401fb55dffbbae26375966 100644 (file)
@@ -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() == "")