def test_change_sequence_comment(self):
        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 sql, ["COMMENT ON SEQUENCE seq1 IS 'Changed sequence seq1'"]
Change existing comment on a sequence
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_sequence.py/SequenceToSqlTestCase.test_change_sequence_comment