def app(): _app = openedx_webhooks.create_app(config="testing") # use a dummy Sentry session, so that we don't actually # contact getsentry.com when running tests _app.extensions["sentry"].client = make_sentry_client(DummyClient, app=_app) # and return! return _app
def app(): _app = openedx_webhooks.create_app(config="testing") # use a dummy Sentry session, so that we don't actually # contact getsentry.com when running tests _app.extensions['sentry'].client = make_sentry_client(DummyClient, app=_app) # and return! return _app
def app(request): return openedx_webhooks.create_app(config="testing")
def app(): return openedx_webhooks.create_app(config="testing")