Salome HOME
Added option to create Construction Point by distance on edge. Fixed tests.
[modules/shaper.git] / src / ModelAPI / Test / TestUndoRedo.py
index 1df119f97c26d77e4162708edad5e582ba9892e3..b9701a1b9639fe0e3a627af6be6dc563bcfd0d36 100644 (file)
@@ -8,6 +8,7 @@ aSession.startOperation()
 aFeature = aDoc.addFeature("Point")\r
 # Since validators are introduced we have to initialize all\r
 # the feature's attributes\r
+aFeature.string("creation_method").setValue("by_xyz")\r
 aFeature.real("x").setValue(1.)\r
 aFeature.real("y").setValue(-1.)\r
 aFeature.real("z").setValue(0.)\r