Пример #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
Пример #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
Пример #3
0
def app(request):
    return openedx_webhooks.create_app(config="testing")
Пример #4
0
def app():
    return openedx_webhooks.create_app(config="testing")