Пример #1
0
 def test_get_shape_xml(self):
     sample = Sample()
     shape = sample.getShape()
     xml = shape.getShapeXML()
     self.assertEqual(type(xml), str)
Пример #2
0
 def test_get_shape(self):
     sample = Sample()
     self.assertEqual(type(sample.getShape()), CSGObject)