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
assert(aDoc.size("Construction") == 8)\r
assert(aSession.canUndo())\r
assert(not aSession.canRedo())\r
+\r
+import model\r
+assert(model.checkPythonDump())\r