def test_undo_change_sequence(self):
        inmap = self.std_map()
        inmap['schema public'].update({'sequence seq1': {
            'start_value': 5, 'increment_by': 10, 'max_value': None,
            'min_value': None, 'cache_value': 30}})
        sql = self.to_sql(inmap, [CREATE_STMT], revert=True)
        assert fix_indent(sql[0]) == "ALTER SEQUENCE seq1 START WITH 1 " \
            "INCREMENT BY 1 NO MAXVALUE NO MINVALUE CACHE 1"
Revert changing sequence attributes
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_sequence.py/SequenceUndoSqlTestCase.test_undo_change_sequence