@event.listens_for(self.metadata, 'before_drop')
def cleanup(*arg, **kw):
    with testing.db.connect() as conn:
        conn.execute('DROP TABLE IF EXISTS test_t1')
        conn.execute('DROP TABLE IF EXISTS test_t2')
        conn.execute('DROP VIEW IF EXISTS test_v')
@event.listens_for(self.metadata, 'before_drop')
def cleanup(*arg, **kw):
    with testing.db.connect() as conn:
        conn.execute('DROP TABLE IF EXISTS test_t1')
        conn.execute('DROP TABLE IF EXISTS test_t2')
        conn.execute('DROP VIEW IF EXISTS test_v')