code: def test_context_processing(app, client):
      @app.context_processor
      def context_processor():
          return {"injected_value": 42}
  
      @app.route("/")
      def index():
          return flask.render_template(
              "context_template.html", value=23
          )
  
      rv = client.get("/")
      assert rv.data == b"<p>23|42"
  
imports: import logging
  import pytest
  import werkzeug.serving
  from jinja2 import TemplateNotFound
  from markupsafe import Markup
  import flask
label_desc: Use image node_id 1 for calling a global function with example usage: test_context_processing(app, client) and returns: dict, flask