def setup(): # super hack: if conf.HEAVY_DSN == 'sqlite:///:tmp:': conf.HEAVY_DSN_IS_TEMPIO = True conf.reset_heavy_dsn() # this is here because the doc generator also runs doctests. # should fix that to use proper _test() methods for a module teardown_examples()
def tearDown(self): """should unload the dataset.""" conn = self.conn teardown_db(conn) conn.close() conf.reset_heavy_dsn()
def tearDown(self): """should unload the dataset.""" store = self.store teardown_db(store) store.close() conf.reset_heavy_dsn()