'Rollback and close the active transaction.'

def _prepare_for_test_db_ddl(self):

    self.connection.connection.rollback()
    self.connection.connection.set_isolation_level(psycopg2.extensions.ISOLATION_LEVEL_AUTOCOMMIT)
