@classmethod
def setUpClass(cls):
    settings.configure_orm()
    cls.session = settings.Session
    cls.app = application.create_app(testing=True)
    cls.appbuilder = cls.app.appbuilder
    cls.app.config['WTF_CSRF_ENABLED'] = False
    cls.security_manager = cls.appbuilder.sm
    cls.delete_roles()
@classmethod
def setUpClass(cls):
    settings.configure_orm()
    cls.session = settings.Session
    cls.app = application.create_app(testing=True)
    cls.appbuilder = cls.app.appbuilder
    cls.app.config['WTF_CSRF_ENABLED'] = False
    cls.security_manager = cls.appbuilder.sm
    cls.delete_roles()