X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FTest%2FTestUndoRedo.py;h=3981f30d4f257df0c4604ce52f1cdb38ceefd727;hb=f0cec241aae9ca16d86e166f45cb5c4987d2c792;hp=1df119f97c26d77e4162708edad5e582ba9892e3;hpb=323ddeaed96f1be1a1071a7facc924085cd65d39;p=modules%2Fshaper.git diff --git a/src/ModelAPI/Test/TestUndoRedo.py b/src/ModelAPI/Test/TestUndoRedo.py index 1df119f97..3981f30d4 100644 --- a/src/ModelAPI/Test/TestUndoRedo.py +++ b/src/ModelAPI/Test/TestUndoRedo.py @@ -8,6 +8,7 @@ aSession.startOperation() aFeature = aDoc.addFeature("Point") # Since validators are introduced we have to initialize all # the feature's attributes +# aFeature.string("creation_method").setValue("by_xyz") aFeature.real("x").setValue(1.) aFeature.real("y").setValue(-1.) aFeature.real("z").setValue(0.) @@ -31,3 +32,6 @@ aSession.redo() assert(aDoc.size("Construction") == 8) assert(aSession.canUndo()) assert(not aSession.canRedo()) + +import model +assert(model.checkPythonDump())