Salome HOME
Added the removeLast method into AttributeRefList
[modules/shaper.git] / src / ModelAPI / Test / TestConstants.py
index fd851f31042303b71a63cd7925e873d1691ded77..c15375d72726aac12387d0a8fff9d3fafbfc6579 100644 (file)
@@ -3,8 +3,8 @@
 #===============================================================================
 from ModelAPI import *
 assert (ModelAPI_Feature.group() == "Features")
-assert (ModelAPI_AttributeDocRef.type() == "DocRef")
-assert (ModelAPI_AttributeDouble.type() == "Double")
-assert (ModelAPI_AttributeReference.type() == "Reference")
-assert (ModelAPI_AttributeRefAttr.type() == "RefAttr")
-assert (ModelAPI_AttributeRefList.type() == "RefList")
\ No newline at end of file
+assert (ModelAPI_AttributeDocRef.typeId() == "DocRef")
+assert (ModelAPI_AttributeDouble.typeId() == "Double")
+assert (ModelAPI_AttributeReference.typeId() == "Reference")
+assert (ModelAPI_AttributeRefAttr.typeId() == "RefAttr")
+assert (ModelAPI_AttributeRefList.typeId() == "RefList")
\ No newline at end of file