Salome HOME
Adjust unit tests to new behavior of SketchBuilder
[modules/shaper.git] / src / ModelAPI / Test / Test1064.py
index f3b42c126e33cd5ce5ae5ac145611abde1d28ad4..14ad14b444bf8036e8c0e32f934e9951acac4710 100644 (file)
@@ -73,9 +73,9 @@ aSession.setActiveDocument(aPartSet)
 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.boolean("distance_reverse").setValue(False)
+aPlane.selection("plane").selectSubShape("face", "Part_1/Extrusion_1_1/Generated_Face_1")
+aPlane.real("distance").setValue(0.001)
+aPlane.boolean("reverse").setValue(False)
 aSession.finishOperation()
 
 #=========================================================================
@@ -105,3 +105,6 @@ assert(aPln.direction().z() == 0.)
 #=========================================================================
 # End of test
 #=========================================================================
+
+from salome.shaper import model
+assert(model.checkPythonDump())