code: def assert_401(response):
      assert (
          response.status_code == 401
      ), f"Current code: {response.status_code}"
      assert response.json == {
          "detail": None,
          "status": 401,
          "title": "Unauthorized",
          "type": EXCEPTIONS_LINK_MAP[401],
      }
  
file_path: airflow/tests/test_utils/api_connexion_utils.py
imports: from __future__ import annotations
  from contextlib import contextmanager
  from airflow.api_connexion.exceptions import EXCEPTIONS_LINK_MAP
  from airflow.providers.fab.auth_manager.security_manager.override import EXISTING_ROLES
label_desc: Use image node_id 10 for calling a global function with example usage: assert_401(response) without return types