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