Salome HOME
Added a unit test and additional update for the issue #1757
[modules/shaper.git] / src / ModelAPI / Test / Test1512.py
index 7ed32b0a6fb2ac679577e36eefb05ebce33bd5d1..491061c9be2b6d83c838351296654d1e2c36171a 100755 (executable)
@@ -143,6 +143,12 @@ check_owner("Boolean_2_1/Modified_2", "face", aTower)
 check_owner("Boolean_2_1/Modified_3&Extrusion_1_1/Generated_Face_2", "edge", aBox)
 check_owner("Boolean_2_1/Modified_2&Extrusion_3_1/To_Face_1_1", "edge", aTower)
 
+# check the connected topology method: solid is not a compound of connected topology
+assert(aFuse.firstResult().shape().isConnectedTopology() == False)
+
 #=========================================================================
 # End of test
 #=========================================================================
+
+import model
+assert(model.checkPythonDump())