def test_composite(self):
        dbmap = self.to_map([CREATE_COMPOSITE_STMT])
        assert dbmap['schema public']['type t1'] == {
            'attributes': [{'x': {'type': 'integer'}},
                           {'y': {'type': 'integer'}},
                           {'z': {'type': 'integer'}}]}
Map a composite type
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_type.py/CompositeToMapTestCase.test_composite