Salome HOME
Added a unit test and additional update for the issue #1757
[modules/shaper.git] / src / ModelAPI / Test / Test1064.py
index c2078e61d7bd8eb9ecb37bac57a3a0bf0b029cc1..4f433271e34bc6ad4bb2f6d03df52ae7c8512509 100644 (file)
@@ -74,7 +74,8 @@ aPlane = aPartSet.addFeature("Plane")
 aPlane.string("creation_method").setValue("by_other_plane")
 aPlane.string("by_other_plane_option").setValue("by_distance_from_other")
 aPlane.selection("plane").selectSubShape("face", "Part_1/Extrusion_1_1/Generated_Face_3")
-aPlane.real("distance").setValue(0)
+aPlane.real("distance").setValue(0.001)
+aPlane.boolean("reverse").setValue(False)
 aSession.finishOperation()
 
 #=========================================================================
@@ -104,3 +105,6 @@ assert(aPln.direction().z() == 0.)
 #=========================================================================
 # End of test
 #=========================================================================
+
+import model
+assert(model.checkPythonDump())