X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FTest%2FTestProjectionEllipse.py;fp=src%2FSketchPlugin%2FTest%2FTestProjectionEllipse.py;h=8d1985613c5be54d38da9dce95734c45b7342b52;hb=f0ff622da83f8272bd5d8ef3dcc00116fd2573dd;hp=713d690f2de3ec000dcf3548e1d72956c3475fa0;hpb=747178d21dce4fb034ff0e84c1280406ab64d566;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/Test/TestProjectionEllipse.py b/src/SketchPlugin/Test/TestProjectionEllipse.py index 713d690f2..8d1985613 100644 --- a/src/SketchPlugin/Test/TestProjectionEllipse.py +++ b/src/SketchPlugin/Test/TestProjectionEllipse.py @@ -49,12 +49,11 @@ model.end() from GeomAPI import * +circle = SketchCircle_2.results()[-1].resultSubShapePair()[0].shape() +assert(circle.isEdge() and circle.edge().isCircle()) ellipse1 = SketchEllipse_1.results()[-1].resultSubShapePair()[0].shape() assert(ellipse1.isEdge() and ellipse1.edge().isEllipse()) ellipse2 = SketchEllipse_2.results()[-1].resultSubShapePair()[0].shape() assert(ellipse2.isEdge() and ellipse2.edge().isEllipse()) -# TODO [limitation]: projection of an ellipse to non-parallel plane is forbiden (OCCT issue #31016) -assert(Sketch_2.feature().error() != "") - assert(model.checkPythonDump())