From: azv Date: Mon, 16 May 2016 14:08:37 +0000 (+0300) Subject: Update unit-tests for SketchPlugin (part III) X-Git-Tag: V_2.3.1~87 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d08d67feea4947dbbf51ef04b72df38b80f264e4;p=modules%2Fshaper.git Update unit-tests for SketchPlugin (part III) --- diff --git a/src/SketchPlugin/Test/TestConstraintAngle.py b/src/SketchPlugin/Test/TestConstraintAngle.py index bc0214d2b..3e0cf8e20 100644 --- a/src/SketchPlugin/Test/TestConstraintAngle.py +++ b/src/SketchPlugin/Test/TestConstraintAngle.py @@ -97,6 +97,8 @@ assert (not refattrB.isInitialized()) refattrA.setObject(aSketchLineA.firstResult()) refattrB.setObject(aSketchLineB.firstResult()) anAngleVal.setValue(ANGLE_DEGREE) +aFlyoutPoint = geomDataAPI_Point2D(aConstraint.attribute("ConstraintFlyoutValuePnt")) +aFlyoutPoint.setValue(50.0, 100.0) aConstraint.execute() aSession.finishOperation() assert (anAngleVal.isInitialized())