def to_map(self, stmts, augmap):
        for stmt in stmts:
            self.db.execute(stmt)
        self.db.conn.commit()
        self.config_options(schemas=[], tables=[], no_owner=True,
                            no_privs=True, multiple_files=False)
        db = AugmentDatabase(self.cfg)
        return db.apply(augmap)
Apply an augment map and return a map of the updated database.
dataset/ETHPy150Open perseas/Pyrseas/pyrseas/testutils.py/AugmentToMapTestCase.to_map