

def test_create_sequence_in_schema(self):
    'Create a sequence within a non-public schema'
    inmap = self.std_map()
    inmap.update({
        'schema s1': {
            'sequence seq1': {
                'start_value': 1,
                'increment_by': 1,
                'max_value': None,
                'min_value': None,
                'cache_value': 1,
            },
        },
    })
    sql = self.to_sql(self, ['CREATE SCHEMA s1'])
    assert (fix_indent(sql[0]) == 'CREATE SEQUENCE s1.seq1 START WITH 1 INCREMENT BY 1 NO MAXVALUE NO MINVALUE CACHE 1')

dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_sequence.py SequenceToSqlTestCase.test_create_sequence_in_schema/VarMisuse@74/129 `inmap`->`self`