def tearDown(self):
model.end()
+ # assert(model.checkPythonDump())
+ # This test checks creation of High API classes from low-level.
+ # It does not set any attributes, so features invalid, and dump also invalid.
model.reset()
#-----------------------------------------------------------------------------
FeaturesAPI.FeaturesAPI_Placement(self.part.addFeature("Placement"))
FeaturesAPI.FeaturesAPI_Rotation(self.part.addFeature("Rotation"))
FeaturesAPI.FeaturesAPI_Translation(self.part.addFeature("Translation"))
- FeaturesAPI.FeaturesAPI_Group(self.part.addFeature("Group"))
-
+
+ import CollectionAPI
+ CollectionAPI.CollectionAPI_Group(self.part.addFeature("Group"))
+
import PrimitivesAPI
PrimitivesAPI.PrimitivesAPI_Box(self.part.addFeature("Box"))