def test_base_type(self):
        stmts = [CREATE_SHELL_STMT, CREATE_FUNC_IN, CREATE_FUNC_OUT,
                 CREATE_TYPE_STMT]
        dbmap = self.to_map(stmts)
        assert dbmap['schema public']['type t1'] == {
            'input': 't1textin', 'output': 't1textout',
            'internallength': 'variable', 'alignment': 'int4',
            'storage': 'plain', 'category': 'U'}
Map a base type
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_type.py/BaseTypeToMapTestCase.test_base_type