async def METHOD_NAME(app: Quart, blueprint: Blueprint) -> None:
    @blueprint.app_template_global()
    def blueprint_global(value: str) -> str:
        return value.upper()
    @app.template_global()
    def app_global(value: str) -> str:
        return value.lower()
    app.register_blueprint(blueprint)
    async with app.app_context():
        rendered = await render_template_string(
            "{{ app_global('BAR') }} {{ blueprint_global('foo') }}"
        )
    assert rendered == "bar FOO"