def setUp(self):
    clear_db_runs()
    clear_db_dags()
    self.db = SQLA(self.app)
    self.appbuilder.add_view(SomeBaseView, 'SomeBaseView', category='BaseViews')
    self.appbuilder.add_view(SomeModelView, 'SomeModelView', category='ModelViews')
    log.debug('Complete setup!')
def setUp(self):
    clear_db_runs()
    clear_db_dags()
    self.db = SQLA(self.app)
    self.appbuilder.add_view(SomeBaseView, 'SomeBaseView', category='BaseViews')
    self.appbuilder.add_view(SomeModelView, 'SomeModelView', category='ModelViews')
    log.debug('Complete setup!')