def test_create_table(self):
        inmap = self.std_map()
        inmap['schema public'].update({'table t1': {
            'columns': [{'c1': {'type': 'integer'}}, {'c2': {'type': 'text'}}],
            'tablespace': 'ts1'}})
        sql = self.to_sql(inmap)
        assert fix_indent(sql[0]) == CREATE_TABLE
Create a table in a tablespace
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_tablespace.py/ToSqlTestCase.test_create_table