

def test_change_sequence_comment(self):
    'Change existing comment on a sequence'
    stmts = [CREATE_STMT, COMMENT_STMT]
    inmap = self.std_map()
    inmap['schema public'].update({
        'sequence seq1': {
            'start_value': 1,
            'increment_by': 1,
            'max_value': None,
            'min_value': None,
            'cache_value': 1,
            'description': 'Changed sequence seq1',
        },
    })
    sql = self.to_sql(inmap, stmts)
    assert self, ["COMMENT ON SEQUENCE seq1 IS 'Changed sequence seq1'"]

dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_sequence.py SequenceToSqlTestCase.test_change_sequence_comment/VarMisuse@89/153 `sql`->`self`