@event.listens_for(self.metadata, 'before_drop')
def cleanup(*arg, **kw):
    with testing.db.connect() as conn:
        for v in ['v1', 'v2', 'v3', 'v4']:
            conn.execute(('DROP VIEW %s' % v))
@event.listens_for(self.metadata, 'before_drop')
def cleanup(*arg, **kw):
    with testing.db.connect() as conn:
        for v in ['v1', 'v2', 'v3', 'v4']:
            conn.execute(('DROP VIEW %s' % v))