Beispiel #1
0
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()
Beispiel #2
0
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()
Beispiel #4
0
 def tearDown(self):
     """should unload the dataset."""
     store = self.store
     teardown_db(store)
     store.close()
     conf.reset_heavy_dsn()
Beispiel #5
0
 def tearDown(self):
     """should unload the dataset."""
     conn = self.conn
     teardown_db(conn)
     conn.close()
     conf.reset_heavy_dsn()
Beispiel #6
0
 def tearDown(self):
     """should unload the dataset."""
     store = self.store
     teardown_db(store)
     store.close()
     conf.reset_heavy_dsn()