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()
#-----------------------------------------------------------------------------
import ExchangeAPI
ExchangeAPI.ExchangeAPI_Import(self.part.addFeature("Import"))
- ExchangeAPI.ExchangeAPI_Export(self.part.addFeature("Export"))
import FeaturesAPI
FeaturesAPI.FeaturesAPI_Boolean(self.part.addFeature("Boolean"))
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"))
- model.parameter.Parameter(self.part.addFeature("Parameter"))
+ import CollectionAPI
+ CollectionAPI.CollectionAPI_Group(self.part.addFeature("Group"))
+
+ import PrimitivesAPI
+ PrimitivesAPI.PrimitivesAPI_Box(self.part.addFeature("Box"))
+
+ import ParametersAPI
+ ParametersAPI.ParametersAPI_Parameter(self.part.addFeature("Parameter"))
#-----------------------------------------------------------------------------