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
Esempio n. 3
0
def app(request):
    return openedx_webhooks.create_app(config="testing")
Esempio n. 4
0
def app():
    return openedx_webhooks.create_app(config="testing")