def test_map_table(self):
        dbmap = self.to_map([CREATE_TABLE])
        expmap = {'columns': [{'c1': {'type': 'integer'}},
                              {'c2': {'type': 'text'}}],
                  'tablespace': 'ts1'}
        assert dbmap['schema public']['table t1'] == expmap
Map a table using a tablespace
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_tablespace.py/ToMapTestCase.test_map_table