Salome HOME
TestSketchBasics.py has been refactored
[modules/shaper.git] / src / ModelAPI / Test / TestConstants.py
1 #===============================================================================
2 # Test ModelAPI static methods
3 #===============================================================================
4 from ModelAPI import *
5 assert (ModelAPI_Feature.group() == "Features")
6 assert (ModelAPI_AttributeDocRef.type() == "DocRef")
7 assert (ModelAPI_AttributeDouble.type() == "Double")
8 assert (ModelAPI_AttributeReference.type() == "Reference")
9 assert (ModelAPI_AttributeRefAttr.type() == "RefAttr")
10 assert (ModelAPI_AttributeRefList.type() == "RefList")