+ pass
+
+def testImportXAOMem_EmptyName():
+
+ # Export from GEOM
+ Box_1 = geompy.MakeBoxDXDYDZ(10, 10, 10)
+ Group_1 = geompy.CreateGroup(Box_1, geompy.ShapeType["FACE"])
+ geompy.UnionIDs(Group_1, [33])
+ # here we do not add box to study to check special case of empty shape name in XAO
+
+ Export_buff = geompy.ExportXAOMem(Box_1, [Group_1], [], "XAO")
+
+ # Import to SHAPER
+ model.begin()
+ partSet = model.moduleDocument()
+ Part_1 = model.addPart(partSet)
+ Part_1_doc = Part_1.document()
+
+ Import_1 = model.addImportXAOMem(Part_1_doc, Export_buff)
+ model.end()
+
+ # Check result
+ assert(Import_1.feature().error() == "")
+ model.testNbResults(Import_1, 1)
+
+ assert(Import_1.name() == "ImportXAOMem")
+ assert(Import_1.result().name() == "ImportXAOMem_1")
+ assert(Import_1.subFeature(0).name() == "Group_1")
+ assert(Import_1.subFeature(0).result().name() == "Group_1")