Пример #1
0
def app_fixture(engine):
    """Application."""
    app = applications.NotifyAPI(engine, title='notify_api', version='0.0.0')

    app.setup_jwt_manager(_JWT, test_mode=True)
    _JWT.set_testing_keys(JwtFactory.get_private_key(),
                          JwtFactory.get_public_key())
    return app
Пример #2
0
def app_fixture(engine):
    """FastAPI app."""
    return applications.NotifyAPI(engine, title='notify_api', version='0.0.0')