Salome HOME
Tests fix
[modules/shaper.git] / src / FeaturesPlugin / Test / TestFillet.py
index 49831b3f54d560f5d7e85c59ad88242e961bdb16..a641328bf4764a8f7f8b937b673cd251c4e3702a 100644 (file)
@@ -24,6 +24,7 @@
 """
 
 from ModelAPI import *
+from GeomDataAPI import *
 
 __updated__ = "2017-11-30"
 
@@ -51,9 +52,7 @@ aSession.finishOperation()
 aSession.startOperation()
 aPoint = aPart.addFeature("Point")
 aPoint.string("creation_method").setValue("by_xyz")
-aPoint.real("x").setValue(20)
-aPoint.real("y").setValue(5)
-aPoint.real("z").setValue(0)
+geomDataAPI_Point(aFeature.attribute("point3d")).setValue(20, 5, 0)
 aSession.finishOperation()
 
 aSession.startOperation()