]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Update unit-tests for SketchPlugin (part III)
authorazv <azv@opencascade.com>
Mon, 16 May 2016 14:08:37 +0000 (17:08 +0300)
committerazv <azv@opencascade.com>
Mon, 16 May 2016 14:08:37 +0000 (17:08 +0300)
src/SketchPlugin/Test/TestConstraintAngle.py

index bc0214d2b8de10b11bd69502c683123eab18ea3c..3e0cf8e207c26c3003b9f9d1da3bf8f5e6cc4c9a 100644 (file)
@@ -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())