code: def test_session_transactions_keep_context(app, client, req_ctx):
      client.get("/")
      req = flask.request._get_current_object()
      assert req is not None
      with client.session_transaction():
          assert req is flask.request._get_current_object()
  
imports: import importlib.metadata
  import click
  import pytest
  import flask
  from flask import appcontext_popped
  from flask.cli import ScriptInfo
  from flask.globals import _cv_request
  from flask.json import jsonify
  from flask.testing import EnvironBuilder
  from flask.testing import FlaskCliRunner
label_desc: Use image node_id 13 for calling a global function with example usage: test_session_transactions_keep_context(app, client, req_ctx) without return types